Brandon Presley
44a94d029a
Show notification on screen when timer is complete
2022-08-22 18:31:47 +12:00
Brandon Presley
396970a50b
Remove pointless API checking after we already required M+
2022-08-22 15:51:03 +12:00
Brandon Presley
773de4d966
Fix adding 1 minute after timer has ended
2022-08-22 15:48:53 +12:00
Brandon Presley
b264fc815d
Stop media player when destroying AlarmService
2022-08-22 15:48:30 +12:00
Brandon Presley
4c185f0346
Add vibration setting for timers
2022-08-20 16:37:59 +12:00
Brandon Presley
ba496e8c2d
Fix adding 1 minute to timer
2022-07-26 11:37:57 +12:00
Brandon Presley
d513b147bc
Add ability to add 1 minute to timer
2022-07-19 17:03:43 +12:00
Brandon Presley
839d872c1c
Shorten method names in AlarmModule
2022-07-19 16:38:58 +12:00
Brandon Presley
65f6eaff57
Remove TimerBroadcast
...
This was added briefly because the timer was
pausing when the app was in the background (sometimes).
I read somewhere using a BroadcastReceiver prevents the timer
from being slept by Android, which turned out to be false (on a Pixel
4).
The actual solution was disabling battery optimizations, so this
broadcast receiver is now redundant.
2022-07-19 16:34:49 +12:00
Brandon Presley
0159956ee8
Merge branch 'no-broadcast'
2022-07-19 16:27:24 +12:00
Brandon Presley
0cb8d7b962
Stop alarm when pressing stop on notification
2022-07-19 14:26:11 +12:00
Brandon Presley
c387ee7e61
Run timer in TimerService instead of Broadcast
2022-07-16 16:12:28 +12:00
Brandon Presley
f4264b2589
Keep stop action when timer ends
2022-07-10 19:03:14 +12:00
Brandon Presley
19470f6ac0
Delete ExportActivity and ImportActivity
2022-07-09 19:41:19 +12:00
Brandon Presley
052e3e971f
Remove ImportModule
2022-07-09 19:39:55 +12:00
Brandon Presley
7b0929bef4
Use react-native libraries for Export and Import
2022-07-09 19:39:11 +12:00
Brandon Presley
07fa6f7ab2
Switch some modals to dialogs and fix light mode
2022-07-06 21:03:56 +12:00
Brandon Presley
e4ed53c358
Move logic of TimerService into TimerBroadcast
...
This was supposed to solve the timer stopping sometimes
when the application was in the background.
It was actually stopping because of battery optimizations.
2022-07-06 16:27:36 +12:00
Brandon Presley
3e09f38ef0
Add sets exporting
2022-07-06 00:06:16 +12:00
Brandon Presley
76e6ffbc25
Add ExportModule
...
It is writing the exported sets.csv correctly,
however afterwards the device has no access to
any files on it's system anymore.
2022-07-05 17:42:48 +12:00
Brandon Presley
6581b32afe
Move timer into notifications bar
2022-07-05 15:33:42 +12:00
Brandon Presley
3d32f391e6
Convert java to kotlin
2022-07-05 12:43:04 +12:00
Brandon Presley
06e9bd72a4
Prevent alarm being set after deleting
2022-07-04 23:09:41 +12:00
Brandon Presley
79b76c3a12
Fix alarm sound and vibration
2022-07-04 22:52:45 +12:00
Brandon Presley
00a801b44a
Make AlarmModule work
2022-07-04 13:41:44 +12:00
Brandon Presley
c6a43b7c83
Pause attempt at using WorkManager
2022-07-03 18:25:21 +12:00
Brandon Presley
bb9a6c5f37
Add basic CRUD for sets
2022-07-03 13:50:01 +12:00
Brandon Presley
73ce91f111
Add sample alarm button
2022-07-01 13:42:42 +12:00
Brandon Presley
b052741b06
First commit
2022-06-30 18:50:52 +12:00