This PR fixes Doze support in recent Android versions. Many pings were not notified and automatically tagged as OFF.
Summary of changes:
Bump to SDK 23 to bring the new NotificationManager that supports Doze, fix related build errors. NB: 23 is the most recent version TagTime can support. If we try a more recent version, we will have to increase the minSdkVersion.
Use setExactAndAllowWhileIdle() to schedule notifications. This method allows notifications to pop up even when the device is in Doze mode.
This PR fixes Doze support in recent Android versions. Many pings were not notified and automatically tagged as OFF.
Summary of changes:
Bump to SDK 23 to bring the new
NotificationManager
that supports Doze, fix related build errors. NB: 23 is the most recent version TagTime can support. If we try a more recent version, we will have to increase the minSdkVersion.Use
setExactAndAllowWhileIdle()
to schedule notifications. This method allows notifications to pop up even when the device is in Doze mode.