e08b024d15
In Hermes release builds, useEffect captures closure values from the first render. If instanceUrl or token were empty at that moment (before SQLite reads complete), no fetch ran and map/graphs never loaded. Adding them to the dependency array ensures the effect re-runs once the values are available; guards on existing geojson/timeseries state prevent double-fetching. Also add @maplibre/maplibre-react-native to the Expo plugins array so that expo prebuild applies the library's required Gradle property configuration to the Android project.
39 lines
966 B
JSON
39 lines
966 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",
|
|
"@maplibre/maplibre-react-native"
|
|
]
|
|
}
|
|
}
|