I need to hide or remove gps indicator from status bar/ navigation bar on background mode. I have already used locationManager?.showsBackgroundLocationIndicator = false but it doesn't when user select "While using the app".
Hide/remove gps indicator when selected "While using the app" on background.
The indicator being visible is by design, because the user has not given the app permission to execute in the background. Therefore the system is going to always show and indication that an app is currently accessing their location.
This does your code no harm, and is a privacy feature to protect the user's information. There is no way around it if there is no compelling reason for the user to grant "always" permission to the app.
But my requirement is to remove the blue indicator or the timer on background mode or is there any way to restart the location from the background mode if i stop/pause the location.