Closed mohammed-ask closed 1 day ago
Plugin version: ??
Config ??
Are you observing the logs in XCode?
Are you configuring the plug-in with debug: true
and verbose logging so you can see and hear what the plug-in is doing?
see wiki “Debugging”
@christocracy Apologies for the delayed response. Currently, I'm using the latest version of the plug-in, which is 4.15.2. Upon checking the plug-in in debug mode, I noticed that when I use freeway drive and there's no scheduled time, it gives me a notification saying "Evaluate Schedule in SLC event" with an airplane icon above it. Is it possible to hide that airplane icon when tracking is not scheduled?
"Evaluate Schedule in SLC event" with an airplane icon above it
It's a "location arrow" icon. This is expected when using a Config.schedule
. The only way the plugin can periodically evalute the schedule
is by subscribing to the iOS "SIgnificant Location Changes" API ("SLC"), where a location is recorded about every 1000 meters.
iOS does not have the ability to subscribe to a "Timer" to automatically launch your app in the background (even if terminated) to launch a scheduled tracking period. The iOS "SLC" API does.
@christocracy heyy sir, can you please have a look into the issue i posted recently, just wanna know if it has any solution or not.
If you don’t want this behaviour, then don’t use a Config.schedule on iOS.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Your Environment
react-native -v
): 0.71.16Expected Behavior
IOS should not display airplane icon in status bar
Actual Behavior
IOS displaying airplane icon in status bar and saying my app it using location even when i have not set scheduled time of today when i use freeway drive
Steps to Reproduce
Context