Commit Graph

23 Commits

Author SHA1 Message Date
9dc188e6ec Remove duplicated permission in AndroidManifest
Also add something to remove the "advertising ID"
or whatever the hell that means. (Thanks google?)
2023-07-17 18:43:15 +12:00
514efc6467 Upgrade react-native to 0.72.1
This unfortunately has broken the unit tests.
Will have to worry about fixing them later.
Everything seems to be working other
than that.
2023-07-07 13:17:19 +12:00
d2a1c432bb Handle EACCESS in BackupModule 2023-03-24 17:43:28 +13:00
00d4edcfc3 Request FOREGROUND_SERVICE permission - 1.127
Related to #142
2023-02-24 19:30:48 +13:00
7c9b4bf5f4 Remove unused android code 2022-11-05 12:53:48 +13:00
3cb6e8757b Make timer alarm have a stop button 2022-10-19 19:59:22 +13:00
d21e7986e3 Add full screen android intent for alarm 2022-10-18 21:38:06 +13:00
e501276463 Keep alarm notification on screen
If the user picks up their phone late while the alarm
is going, they might not realise the controls are in
the notification not the app.

Closes #75
2022-10-05 21:11:44 +13:00
cb6fc58876 Remove ACCESS_NETWORK_STATE from apk when building
One of my libraries must be adding this, but we don't need it.
2022-08-28 20:16:29 +12:00
84e3bd1a16 Remove unnecessary permissions and meta-data from AndroidManifest 2022-08-26 17:20:33 +12:00
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
19470f6ac0 Delete ExportActivity and ImportActivity 2022-07-09 19:41:19 +12:00
07fa6f7ab2 Switch some modals to dialogs and fix light mode 2022-07-06 21:03:56 +12:00
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
3e09f38ef0 Add sets exporting 2022-07-06 00:06:16 +12:00
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
6581b32afe Move timer into notifications bar 2022-07-05 15:33:42 +12:00
79b76c3a12 Fix alarm sound and vibration 2022-07-04 22:52:45 +12:00
00a801b44a Make AlarmModule work 2022-07-04 13:41:44 +12:00
c6a43b7c83 Pause attempt at using WorkManager 2022-07-03 18:25:21 +12:00
bb9a6c5f37 Add basic CRUD for sets 2022-07-03 13:50:01 +12:00
73ce91f111 Add sample alarm button 2022-07-01 13:42:42 +12:00
b052741b06 First commit 2022-06-30 18:50:52 +12:00