New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Doze #78

merged 3 commits into from Jul 3, 2018


None yet
2 participants

geekarist commented Jul 3, 2018

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.

geekarist added some commits Jun 22, 2018

Send pings in Doze mode
This commit includes a bump to sdk 23 which brings setAndAllowWhileIdle

@Insti Insti merged commit 544f40f into tagtime:master Jul 3, 2018


This comment has been minimized.


Insti commented Jul 3, 2018

So happy to see someone working on this ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment