Timer page #99

Closed
opened 2022-10-23 06:19:16 +00:00 by brandon.presley · 5 comments

At the end of rest timers we could use custom events to let React know an alarm is playing, and navigate the user to a Timer page displaying a countdown and the status of the alarm, along with a stop button.

At the end of rest timers we could use [custom events](https://stackoverflow.com/questions/54089235/how-to-pass-data-from-native-android-to-react-native) to let React know an alarm is playing, and navigate the user to a Timer page displaying a countdown and the status of the alarm, along with a stop button.
brandon.presley added the
enhancement
label 2022-10-23 06:19:36 +00:00
Author
Owner

Maybe create the timer service within the module?

Maybe create the timer service within the module?
Author
Owner

If making a service within the AlarmModule doesn't work I might make a Stackoverflow question out of desparation

If making a service within the AlarmModule doesn't work I might make a Stackoverflow question out of desparation
Author
Owner
Made a stackoverflow post https://stackoverflow.com/questions/74204339/sending-react-native-android-events-to-javascript-from-a-service
Author
Owner

I tried moving the content of TimerService to be inside of the AlarmModule, but couldn't figure out how to fire Intents that activate within the AlarmModule.

I tried moving the content of `TimerService` to be inside of the `AlarmModule`, but couldn't figure out how to fire `Intent`s that activate within the `AlarmModule`.
Author
Owner
Progress can be seen https://gitea.presley.nz/brandon.presley/Massive/src/branch/alarm-module
brandon.presley changed title from Custom event emitters for rest timers to Timer page 2022-11-03 02:27:06 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: brandon.presley/Massive#99
No description provided.