Commit Graph

47 Commits

Author SHA1 Message Date
Brandon Presley db5cc566ea Remove double permissions request and fix import - 1.136 2023-03-27 14:45:28 +13:00
Brandon Presley 76e5aeacfd Choose directory when backing up automatically - 1.135
Related to #146.
2023-03-27 14:34:17 +13:00
Brandon Presley 5dd569ef72 Upgrade to react-native 0.70.2 - 1.132 2023-03-21 17:09:24 +13:00
Brandon Presley dfc4f73ca4 Upgrade react-native to 0.70.6 2023-03-21 16:59:21 +13:00
Brandon Presley e7f85a9954 Add date/time picker to EditSet - 1.115 2023-01-08 18:02:17 +13:00
Brandon Presley e43188ccdf Merge branch 'master' into unit-tests 2023-01-01 13:57:01 +13:00
Brandon Presley 5e37490c2d Add react-hook-form for settings page
This seems to have improved performance.

Related to #135.
2022-12-30 15:47:12 +13:00
Brandon Presley 46dd50adfb Pause adding unit tests 2022-12-30 13:25:47 +13:00
Tiffany Barclay 736cee5ccd Remove react-native-picker 2022-12-25 00:41:25 +13:00
Brandon Presley fa180db0fb Remove react-native-device-time-format 2022-11-22 21:44:15 +13:00
Brandon Presley 3528ba593f Finish removing react-native-picker-select
Replaced with react-native-paper menus.
2022-11-16 18:17:59 +13:00
Brandon Presley 16668a80a5 Upgrade react-native-device-time-format to 2.3.0
Downgrading to 2.2.0 fixed ios but broke android.
I'll keep the ios stuff on a separate branch.
2022-11-15 19:56:36 +13:00
Brandon Presley 162d67c351 Start work on pickers that work on android+ios 2022-11-15 19:51:15 +13:00
Brandon Presley 6b7849b414 Downgrade react-native-device-time-format
Version 2.3.0 doesn't autolink in ios.
2022-11-15 18:09:07 +13:00
Brandon Presley c51bfbd852 Use date-fns and detect 12/24 hour device setting
Related to #116
2022-11-12 14:38:39 +13:00
Brandon Presley 0f73fb9d8f Bump react-native to 0.70.5 2022-11-09 11:27:32 +13:00
Brandon Presley b7f1c2192e Pause converting to typeorm due to odd error
ERROR  TypeError: Cannot read property 'getItem' of undefined

This error is located at:
    in FlatList (created by SetList)
    in RCTView (created by View)
    in View (created by Page)
    in Page (created by SetList)
    in SetList (created by SceneView)
...

I found an open issue on the react-native github which seems
related https://github.com/facebook/react-native/issues/31523
but after following all of their suggestions I still have the
same error. I tried:
- Removing @babel/plugin-proposal-class-properties & @babel/plugin-transform-flow-strip-types
- Adding @babel/plugin-transform-flow-strip-types
2022-10-31 13:20:36 +13:00
Brandon Presley 6e75614d10 Add basic working unit tests 2022-10-30 12:56:58 +13:00
Brandon Presley cc97c760bb Give up trying to add unit tests
Running tests gives the following error:
TypeError: _reactNative.BackHandler.addEventListener is not a function
2022-10-29 17:16:28 +13:00
Brandon Presley afbdd2fed5 Upgrade all packages 2022-10-28 16:26:03 +13:00
Brandon Presley e4a06c1dfb Remove husky 2022-09-20 12:51:56 +12:00
Brandon Presley f38cc9d00c Remove react-native-picker-select
Closes #29
2022-09-20 12:28:15 +12:00
Brandon Presley fdb0355aaa Upgrade all packages
Closes #23.
2022-09-19 13:20:58 +12:00
Brandon Presley 98279dcbea Revert "Upgrade react-native"
This reverts commit b46f6c8d64.

Upgrading react-native produces a crash similar to https://github.com/facebook/react-native/issues/34658
2022-09-17 12:33:45 +12:00
Brandon Presley b46f6c8d64 Upgrade react-native 2022-09-17 00:46:17 +12:00
Brandon Presley 8e5519c686 Add husky for pre-commit hooks 2022-09-11 15:51:58 +12:00
Brandon Presley da936c7799 Add picker for best charts 2022-09-02 12:24:28 +12:00
Brandon Presley f15146c0e2 Add sharing graphs 2022-08-24 13:23:21 +12:00
Brandon Presley 60a7d2659d Delete unused libraries 2022-08-24 12:01:54 +12:00
Brandon Presley fd66bd3ab3 Remove date related logic
This kept displaying the wrong date/time for certain timezones.
So i'll just show the actual ISO date we store in the database.
Maybe later i'll figure out what was going on here or use a
date library (probably not).
2022-08-20 16:38:18 +12:00
Brandon Presley 42c2502e12 Upgrade yarn version 2022-07-19 16:24:05 +12:00
Brandon Presley a4855a41d9 Prepare for first release 2022-07-12 15:54:04 +12:00
Brandon Presley 03db3cd843 Move from native-stack to stack navigation for HomePage 2022-07-11 11:14:24 +12:00
Brandon Presley f15c6df20b Use stack navigation for homepage + EditSet 2022-07-11 00:04:13 +12:00
Brandon Presley 7b0929bef4 Use react-native libraries for Export and Import 2022-07-09 19:39:11 +12:00
Brandon Presley f2d5166c8a Add ability to edit created on sets 2022-07-09 16:38:57 +12:00
Brandon Presley a06b9e7ee5 Update yarn.lock 2022-07-09 12:51:37 +12:00
Brandon Presley c80c65e171 Add graphs 2022-07-09 00:11:10 +12:00
Brandon Presley 29200cf248 Use switches for plan editing 2022-07-07 16:17:55 +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 6581b32afe Move timer into notifications bar 2022-07-05 15:33:42 +12:00
Brandon Presley 8d4c075677 Remove dependencies used by AlarmModule 2022-07-04 16:17:29 +12:00
Brandon Presley 00a801b44a Make AlarmModule work 2022-07-04 13:41:44 +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 d0fefd7273 Upgrade react-native 2022-06-30 18:51:06 +12:00
Brandon Presley b052741b06 First commit 2022-06-30 18:50:52 +12:00