Files
bincio-activity/mobile/app.json
T
Davide Scaini d8b3a69564 fix: allow HTTP to local instances in release build; fix activity 404 in dev
Android release builds block cleartext HTTP by default (debug builds override
this via the debug manifest overlay). Add usesCleartextTraffic=true to app.json
so expo prebuild includes it in the generated manifest — required to reach local
Bincio instances over HTTP.

In bincio dev (Astro dev server), /activity/<id>/ routes 404 because
getStaticPaths() returns [] and there is no nginx try_files fallback. Add a Vite
middleware plugin to astro.config.mjs that rewrites /activity/<id>/ to /activity/
in dev, matching what nginx does in production.
2026-04-25 09:30:02 +02:00

38 lines
925 B
JSON

{
"expo": {
"name": "Bincio",
"slug": "bincio",
"version": "0.1.0",
"orientation": "portrait",
"scheme": "bincio",
"userInterfaceStyle": "dark",
"newArchEnabled": true,
"platforms": ["ios", "android"],
"android": {
"package": "org.bincio.app",
"usesCleartextTraffic": true,
"permissions": [
"android.permission.READ_EXTERNAL_STORAGE",
"android.permission.READ_MEDIA_VIDEO",
"android.permission.RECEIVE_BOOT_COMPLETED",
"android.permission.VIBRATE",
"android.permission.POST_NOTIFICATIONS"
]
},
"ios": {
"bundleIdentifier": "org.bincio.app",
"supportsTablet": true
},
"plugins": [
"expo-router",
"expo-sqlite",
[
"expo-document-picker",
{ "iCloudContainerEnvironment": "Production" }
],
"expo-background-fetch",
"expo-task-manager"
]
}
}