When using alarms we needed a BOOT_COMPLETED BroadcastReceiver to reset the alarm when the device starts up. I have a feeling we may need something similar when setting the background .requestLocationUpdates() PendingIntent.
If this is the case then we won't get notifications if the device is rebooted and the Magnet app not manually launched. After the Magnet app is launched then the background scanning should be in place.
This needs clarifying and implementing if need be.
When using alarms we needed a
BOOT_COMPLETEDBroadcastReceiverto reset the alarm when the device starts up. I have a feeling we may need something similar when setting the background.requestLocationUpdates()PendingIntent.If this is the case then we won't get notifications if the device is rebooted and the Magnet app not manually launched. After the Magnet app is launched then the background scanning should be in place.
This needs clarifying and implementing if need be.