ChicoState / Smart-Nap

0 stars 2 forks source link

Newly created alarms do not wait for accurate time to notify user #2

Closed cboatsman closed 7 years ago

cboatsman commented 7 years ago

When creating a new alarm, the notification to a users device happens almost immediately upon creation of the alarm. Instead, it should be waiting to send notification upon the actual alarm event taking place at the specified time. I am unsure as to whether or not this issue is related to the alarm not properly being created, or if it is an issue with the AlarmReceiver or AlarmService.

cboatsman commented 7 years ago

Still need to add much more to the alarm system as a whole, but as of right now I have tested and verified that the alarm now waits for the appropriately chosen time before user notification is sent.

One further issue with this that I have noticed is that the phone/device must not be sleeping (needs to be on, app needs to be running) otherwise the notification does not seem to come. However, this will be addressed in a different issue.

Closed.