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
Nativescript version (tns info):
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 4.1.2 and the latest available version is 4.2.0.
✔ Component tns-core-modules has 4.2.0 version and is up to date.
✔ Component tns-android has 4.2.0 version and is up to date.
When opening another activity and navigating back to the NativeScript app activity the background service should remain working.
Actual Behavior
Navigating back kills the geolocation background service. The BackgroundGeolocation.getState returns enabled:true but location is not being reported anymore.
Steps to Reproduce
You can use PhotoViewer plugin to open a photo in a new activity and then navigate back.
Debug logs
Nothing unusual in the logs.
The text was updated successfully, but these errors were encountered:
Don't know if you still are interested in this, but maybe to someone might interest:
A possible temporary fix might be to force the reset: true when initializing the conf? So it won't care to see the service as alive or not, it will start it anyway... (?)
well, I'm assuming that the main activity on which he "lands back" from the navigation would run the initialization method on the plugin. If I didn't get anything wrong.
Your Environment
tns info
):✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 4.1.2 and the latest available version is 4.2.0.
✔ Component tns-core-modules has 4.2.0 version and is up to date.
✔ Component tns-android has 4.2.0 version and is up to date.
Expected Behavior
When opening another activity and navigating back to the NativeScript app activity the background service should remain working.
Actual Behavior
Navigating back kills the geolocation background service. The
BackgroundGeolocation.getState
returnsenabled:true
but location is not being reported anymore.Steps to Reproduce
You can use PhotoViewer plugin to open a photo in a new activity and then navigate back.
Debug logs
Nothing unusual in the logs.
The text was updated successfully, but these errors were encountered: