Skip to content
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

feat(local-notifications): Fire local notifications while app is idle #237

Merged
merged 5 commits into from
Feb 5, 2021

Conversation

theproducer
Copy link
Contributor

@theproducer theproducer commented Feb 3, 2021

This PR adds a schedule option for allowing a notification to fire while the device is in "battery-saving" (Doze) mode.

To simulate Doze:
https://developer.android.com/training/monitoring-device-state/doze-standby#testing_doze

You can test easily from this test-app PR:
ionic-team/capacitor-testapp#100

closes: #225

@theproducer theproducer merged commit 43380ef into main Feb 5, 2021
@theproducer theproducer deleted the local-notifications-power-optimizations branch February 5, 2021 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Notifications do not occur or persist if app is closed.
3 participants