Closed jfm-so closed 6 days ago
a persistent icon or notification should not be displayed to the user while the app is in the background.
Why not? I expect to see this.
Is there any solution for a user who doesn't want to see that? Will changing the level of accuracy or distance have an impact?
iOS 16 made changes that require the icon to be shown.
Is there a way I can subscribe to significant location updates only and have the bar only show when it is updating due to a significant location change?
No need for fleet-level tracking accuracy which I know is closer to the purpose of the plugin, but unfortunately it's the best one that's available for iOS background location updates.
iOS 16 made changes that require the icon to be shown.
I don't see any mention of this in the developer documentation. Could you link it to me? There is a requirement for the Location Services status icon, but that is not within the dynamic island. As seen here That is typically shown as a tiny blue dot or under the control center, even on newer devices with the dynamic island.
The Dynamic Island is mainly cosmetic and typically requires a live activity to be set by the framework or the app. Dev Docs
I am going to do more research later today, but if you could link me to the section in the repo that handles this function I will see what else I can do.
I don't see any mention of this in the developer documentation
It's not documented.
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
cordova -v
): 12.0.0cordova platform ls
): ios 7.0.1Plugin config provided to
#ready
:Expected Behavior
User prompted to enable location if not enabled. Users location updated in background. User is not notified of these changes.
Actual Behavior
iPhone 15 Pro (and newer models with Dynamic Island) display a persistent blue border and icon if location is enabled even when the app is in background.
This is regardless of whether the user has the location privacy settings set to Always or Only when in use. Both have been tried in testing.
Settings -> Privacy & Security -> Location Services -> (all the way at the bottom) System Services -> Status Bar Icon ^ Toggled off
Privacy -> Location Services -> My App ^ Set to precise and always
If the user clicks the dynamic island, the app opens.
The dynamic island is persistent but can sometimes disappear after 5-10 minutes but will return within another few minutes regardless of location changes.
This has been reproduced on devices only with the dynamic island. Devices without the dynamic island function as expected.
Steps to Reproduce
Context
As with other models, a persistent icon or notification should not be displayed to the user while the app is in the background.
Debug logs
Logs
``` PASTE_YOUR_LOGS_HERE ```