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

Notifications don't work #161

Closed
sandy-8925 opened this issue Dec 28, 2018 · 4 comments
Closed

Notifications don't work #161

sandy-8925 opened this issue Dec 28, 2018 · 4 comments

Comments

@sandy-8925
Copy link

I have created schedules, but I never receive notifications for those schedules. I am using a OnePlus 5, with Android 9.0 (but had Android 8.1 until a few days ago).

@sphh
Copy link

sphh commented Mar 19, 2019

Calendula has to be excluded from battery optimization and power manager as every app running in the background wanting to display notifications.

On my Android 8.1 I had to do the following:

  1. Open Settings, select Battery, click on the three vertical dots in the top right corner and select Battery optimization. Check if Calendula is in the list of Not optimized applications. If it is not, tap on Not optimized, select All apps. Scroll down to Calendula and tap on it. Select Don't optimize and Done. Go back to Settings by pressing the back button repeatedly.
  2. Back at Settings, select Smart Assistant, click on Power save manager and in the White list scroll down to Calendula and make the checkbox beside Calendula active.

If the procedure is a bit different on Android 9.0, please add it here.

@omideleayo, maybe you want to add this procedure to your FAQ #133 ?

@sandy-8925
Copy link
Author

sandy-8925 commented Mar 20, 2019

My OnePlus device has some additional power management "features" that break expected Android behaviour.

I suggest disabling them, since it prevented Calendula (and other apps') notifications from working.

Edit: For OnePlus devices, open the battery optimization settings, click on the 3 dots in the top right, click on Advanced Optimization. Disable "Deep optimization" and "Sleep standby optimization".

@sandy-8925
Copy link
Author

My bug was due to OnePlus' power management changes that broke expected Android API behavior, so it's not a bug in Calendula.

After disabling OnePlus' power management features, Calendula now works correctly.

Note that I have not disabled Android's default battery optimization features.

I'll close this now.

@sphh
Copy link

sphh commented Mar 20, 2019

Glad that it works now.

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

No branches or pull requests

2 participants