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

Implement scheduled notifications #31

Merged
merged 4 commits into from
Dec 11, 2022
Merged

Implement scheduled notifications #31

merged 4 commits into from
Dec 11, 2022

Conversation

daoxve
Copy link
Contributor

@daoxve daoxve commented Dec 10, 2022

This PR should successfully close #21

The Notification toggle has been converted into a button that leads to a dedicated page that contains 3 buttons:

  • Enable Notifications
  • Test (notification functionality)
  • Schedule time

The default time when none is set is 20:00 or 8:00 PM in the local time zone of the user. Schedules are also set to work in the user's local time, and the previous logic for assigning notifications has been replaced by a slightly more efficient approach.

The test button is used to display how notifications would work on the device and the option would be hidden while notifications are disabled.

The page and all the new content have also been localized and tested for the available in-app languages.

Please let me know if you'd like any changes, thanks.

Copy link
Owner

@KyleKun KyleKun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Thanks for your contribution!

@KyleKun KyleKun merged commit 1395554 into KyleKun:main Dec 11, 2022
@SXPorrata
Copy link

Amazing, is the repo auto published to the app store or are releases made manually?

@KyleKun
Copy link
Owner

KyleKun commented Dec 24, 2022

Amazing, is the repo auto published to the app store or are releases made manually?

Manually, the new update is coming in January on PlayStore, along with a lot more features.

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.

Set time for notifications?
3 participants