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

reschedualed alarms dosnt work #730

Closed
islam2hamy opened this issue Aug 22, 2023 · 2 comments · Fixed by #732
Closed

reschedualed alarms dosnt work #730

islam2hamy opened this issue Aug 22, 2023 · 2 comments · Fixed by #732
Milestone

Comments

@islam2hamy
Copy link

islam2hamy commented Aug 22, 2023

Describe the bug
rescheduled alarms doesn't work until app opened manual

To Reproduce
Steps to reproduce the behavior:

  1. set a notification
  2. Turn off the phone for 1 hour or more
  3. Turn on the phone
  4. dont open the app before the next notification

Expected behavior
The notification will appear
But that doesn't habend

Screenshots
Screenshot_٢٠٢٣-٠٨-٢٢-٢١-٠٥-١١-٩٧٢_com forrestguice suntimeswidget-edit

Version Info:

  • App Version: 0.15.6
  • Android Version: 13
  • Device Model: xiaomi note 12
forrestguice added a commit that referenced this issue Sep 5, 2023
Display a warning message on Xiomi devices when the "autostart" setting is disabled; "Alarms may fail to work after reboot" since `BOOT_COMPLETED` is restricted on these devices. #730
forrestguice added a commit that referenced this issue Sep 5, 2023
Display a warning notification on Xiomi devices when the "autostart" setting is disabled. #730
@forrestguice
Copy link
Owner

Sorry for such a late reply @islam2hamy.
I'm very busy lately. At least for now, I'm unable to spend much time, or take on new projects.

Regarding this bug.. I think BOOT_COMPLETED failed to run because the Xiomi "Autostart" setting is toggled off for some reason. It defaults to disabled. It also wouldn't surprise me if the OS periodically resets it too 🤷 It should be possible for the app to detect when its disabled - the latest version (v0.15.7) displays a warning message.

@forrestguice forrestguice added this to the v0.15.7 milestone Sep 5, 2023
@islam2hamy
Copy link
Author

Sorry for such a late reply @islam2hamy. I'm very busy lately. At least for now, I'm unable to spend much time, or take on new projects.

@forrestguice , no problem :)

Regarding this bug.. I think BOOT_COMPLETED failed to run because the Xiomi "Autostart" setting is toggled off for some reason. It defaults to disabled. It also wouldn't surprise me if the OS periodically resets it too 🤷 It should be possible for the app to detect when its disabled - the latest version (v0.15.7) displays a warning message.

Ok , i will take a look for "Autostart"

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 a pull request may close this issue.

2 participants