You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to watch geofence changes even if the app is in the background. I am using react-native-background-actions library for background actions. When I start the background process, the indoor atlas works until I close the app. After that, I can see numbers provided by forloop (check the image) but there is no data logged for location or geofence.
The text was updated successfully, but these errors were encountered:
well I am telling you this from experience doing background tasks like geofence and activityrRecongnition is nearly immpossible if you need do it checkOut how bridging work in react native you have to create an bridge between react native app and native code where you have to write geofence implementation code in kotlin
Unfortunately we don't currently have any examples or direct way to set those up in the IndoorAtlas React Native plugin.
It's important to include android:foregroundServiceType="location" in the manifest foreground service declaration. By quick look it doesn't look like the RN library you linked uses that, maybe that is the issue ?
I want to watch geofence changes even if the app is in the background. I am using react-native-background-actions library for background actions. When I start the background process, the indoor atlas works until I close the app. After that, I can see numbers provided by forloop (check the image) but there is no data logged for location or geofence.
The text was updated successfully, but these errors were encountered: