Commit Graph

21 Commits

Author SHA1 Message Date
Brandon Presley d2a1c432bb Handle EACCESS in BackupModule 2023-03-24 17:43:28 +13:00
Brandon Presley 00d4edcfc3 Request FOREGROUND_SERVICE permission - 1.127
Related to #142
2023-02-24 19:30:48 +13:00
Brandon Presley 7c9b4bf5f4 Remove unused android code 2022-11-05 12:53:48 +13:00
Brandon Presley 3cb6e8757b Make timer alarm have a stop button 2022-10-19 19:59:22 +13:00
Brandon Presley d21e7986e3 Add full screen android intent for alarm 2022-10-18 21:38:06 +13:00
Brandon Presley 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
Brandon Presley 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
Brandon Presley 84e3bd1a16 Remove unnecessary permissions and meta-data from AndroidManifest 2022-08-26 17:20:33 +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 19470f6ac0 Delete ExportActivity and ImportActivity 2022-07-09 19:41:19 +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 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