Commit graph

229 commits

Author SHA1 Message Date
Neeraj Gupta a005494a12
Android: mark bgtask as finished if process is already running 2022-07-05 22:51:06 +05:30
Neeraj Gupta edabfe6da3
lint: enable prefer_const_constructors_in_immutables rule 2022-07-04 14:13:01 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta 348ddc1f69
reactor: move widgets location 2022-07-01 20:09:02 +05:30
Neeraj Gupta dd1c8676f2
bump version to 0.6.5+335 2022-06-23 18:47:31 +05:30
Neeraj Gupta d588df6abd
ensure that config is init before UserService 2022-06-23 18:40:35 +05:30
Neeraj Gupta 876b8e1aaf
use ApplicationSupportDirectory instead of tempDirectory for logs 2022-06-23 08:48:10 +05:30
Neeraj Gupta eba0dc51a0
Minor refactor 2022-06-21 20:07:17 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
Neeraj Gupta 9bc4306218
Merge branch 'master' into redesign 2022-06-09 18:37:56 +05:30
Neeraj Gupta 91a9e13925
minor refactor 2022-06-08 15:00:21 +05:30
Neeraj Gupta 33c84f1a52
AppLock: Support dark & ligth theme mode 2022-06-04 07:41:24 +05:30
Neeraj Gupta 5bd9dd1a76
Merge remote-tracking branch 'origin/master' into redesign 2022-05-30 06:42:43 +05:30
vishnukvmd 106dbac6b6 Use a tunneled transport when necessary 2022-05-29 04:50:23 +05:30
vishnukvmd dad7f409a7 Move super_logging to internal codebase 2022-05-29 03:46:22 +05:30
Neeraj Gupta 150c8177b1 Merge remote-tracking branch 'origin/master' into theme 2022-03-12 12:35:17 +05:30
Neeraj Gupta 432d686da7
do not kill current isolate 2022-03-10 17:28:37 +05:30
Neeraj Gupta 0525f6b910
use adaptive theme for toggling 2022-03-09 11:27:27 +05:30
Neeraj Gupta 3547412dc4
logs & version bump 2022-03-09 10:13:18 +05:30
Neeraj Gupta 1c2152ae31
logs 2022-03-08 13:52:01 +05:30
Neeraj Gupta 489427cf7b
add logs 2022-03-08 12:47:19 +05:30
Neeraj Gupta 6d79df247f
add logs for debugging app stuck 2022-03-08 01:48:50 +05:30
Neeraj Gupta d2ce10d90b
minor rename 2022-03-05 16:12:55 +05:30
vishnukvmd 506dc2af73 Retry sync when a background task is executed within the same isolate 2021-11-28 10:52:14 +05:30
vishnukvmd a789935fb4 Define return type 2021-11-27 21:16:40 +05:30
vishnukvmd 279f53b6f8 Replace future with a simple boolean 2021-11-27 21:15:56 +05:30
vishnukvmd ae1f28dac5 Remove redundant check for in-memory variable since background task runs on a separate isolate 2021-11-27 21:12:52 +05:30
vishnukvmd 9cdf60df43 Don't exit when sync is in progress 2021-11-27 21:06:30 +05:30
vishnukvmd 9ad2e34e3a Send the correct background task handler to the app 2021-11-27 21:04:31 +05:30
vishnukvmd 17334589be Setup push handlers only on iOS 2021-11-25 16:05:38 +05:30
vishnukvmd 47f390d444 Update log line 2021-11-25 15:59:29 +05:30
vishnukvmd 01f9b673aa Configure background fetch during app widget init 2021-11-25 15:52:12 +05:30
vishnukvmd 3336491f62 Extract app into a separate file 2021-11-24 12:56:07 +05:30
vishnukvmd 67df8e7bde Remove unnecessary visibility detector 2021-11-24 12:49:11 +05:30
vishnukvmd 81c72488d2 Wrap home widget within a visibility detector 2021-11-23 20:07:36 +05:30
vishnukvmd e398807f2e Resort to AppLifecycleState 2021-11-15 21:05:07 +05:30
vishnukvmd 8d4a763a65 Set state to foreground on app init 2021-11-15 20:07:07 +05:30
vishnukvmd 215bd29ce9 Store app's lifecycle state within a service 2021-11-15 19:59:31 +05:30
vishnukvmd c75138a39f Sync only when asked to do so 2021-11-15 19:51:43 +05:30
vishnukvmd 290a8bea36 Configure push token on user sign in 2021-11-11 00:44:25 +05:30
vishnukvmd 616d8efadc Merge branch 'master' into bg_sync 2021-11-05 14:08:55 +05:30
Neeraj Gupta 3239ba3644
Resolve existing package import issues 2021-10-30 11:21:23 +05:30
vishnukvmd 02c56e852f Trigger sync when a background push is received 2021-10-28 12:41:38 +05:30
vishnukvmd 1066d33355 Add log line 2021-10-28 01:38:10 +05:30
vishnukvmd 3e424c1c07 Kill self on iOS when we get close to 30s of runtime 2021-10-22 23:12:35 +05:30
vishnukvmd 9f845518bc Merge remote-tracking branch 'origin' into bg_sync 2021-10-22 22:59:11 +05:30
Neeraj Gupta 39b0f50277
Merge remote-tracking branch 'origin/master' into trash_api 2021-10-20 17:33:35 +05:30
vishnukvmd bc76b1033b Kill the background isolate 2021-10-18 18:00:39 +05:30
vishnukvmd bbad8a4cce Initialize app on bg push 2021-10-13 10:54:49 +05:30
Neeraj Gupta 84b0283933
Sync trashed items in local db 2021-10-13 00:57:11 +05:30
vishnukvmd 343a72c5b4 Add fg/bg as a param for sync 2021-10-12 15:02:51 +05:30
vishnukvmd 76c8ddd62b Fix lint warning 2021-10-12 14:45:36 +05:30
vishnukvmd 614e13e7da Parse background pushes 2021-10-12 14:42:28 +05:30
Neeraj Gupta ba16a6a887
Show network requests in debug build using alice 2021-10-08 12:14:35 +05:30
Neeraj Gupta 73911b0631 await on localSettings init 2021-09-09 11:23:51 +05:30
Neeraj Gupta 8404c87791 Support sorting on ente albums by name, recent photo & last modified 2021-09-09 01:36:37 +05:30
Neeraj Gupta def66ee3cc l10n: Basic setup with en language 2021-08-28 10:44:41 +05:30
Neeraj Gupta a62eeb1dae Fix bug: init sharedPref and call sync during init 2021-08-24 12:33:27 +05:30
Neeraj Gupta 0324f416ab Sync feature flags in foreground 2021-08-24 12:24:05 +05:30
Neeraj Gupta c1e0886757 Add feature flag to enable/disable CF Worker 2021-08-24 12:21:02 +05:30
vishnukvmd 5674926a1f Ensure that callbacks are attached only on app start 2021-08-04 22:57:06 +05:30
vishnukvmd c12920b042 Remove unnecessary const 2021-07-22 15:00:11 +05:30
vishnukvmd 9f8c409f3d Fix lint warnings 2021-07-22 02:17:43 +05:30
Vishnu Mohandas 0b71e19962 Use a different toast library on iOS 2021-06-28 23:55:35 +05:30
Vishnu f7bc1962f6 Pull out remote sync to a separate service 2021-06-14 21:54:15 +05:30
Vishnu 3b9858cc40 Extract local-sync to a separate service 2021-06-14 20:28:36 +05:30
Vishnu Mohandas 8fcca7c168 Set underline for focused text fields 2021-05-31 05:25:50 +05:30
Vishnu Mohandas a6b3b82bd1 Show notifications in the background, if an update is available 2021-05-23 02:56:11 +05:30
Vishnu Mohandas 1cba327147 Add option to check for updates 2021-05-22 23:59:09 +05:30
Vishnu Mohandas 537abae771 Show a notification on Android when storage limit is exceeded 2021-05-21 04:53:29 +05:30
Vishnu Mohandas 638762101c Set cursor color 2021-05-13 01:04:13 +05:30
Vishnu Mohandas 7c31cbbdc0 Change styles of the subscription page 2021-05-12 22:12:15 +05:30
Vishnu Mohandas 84e22229b5 Update colors 2021-05-12 21:29:07 +05:30
Vishnu Mohandas 4c108a7a79 Update dialog background color 2021-05-12 20:41:57 +05:30
Vishnu Mohandas 04f20ab505 Sync periodically if app is in foreground 2021-05-08 23:23:17 +05:30
Vishnu Mohandas 1ace635461 Move back-button override to homescreen 2021-05-08 19:54:24 +05:30
Vishnu Mohandas 2b4e1fcd83 Move the app to background when back button is pressed 2021-05-08 19:47:11 +05:30
Vishnu Mohandas ef808e764e Clear upload locks on timeout 2021-05-07 23:14:19 +05:30
Vishnu Mohandas 123a34b42c Kill background tasks if a foreground task comes to life 2021-05-07 22:56:51 +05:30
Vishnu Mohandas 99df462dea Send UA with request 2021-04-04 22:49:46 +05:30
Vishnu Mohandas bf09a87997 Show lockscreen onStart and onResume 2021-03-21 14:02:10 +05:30
Vishnu Mohandas eea7143180 Hide debug label 2021-03-08 13:08:54 +05:30
Vishnu Mohandas 2c542806da Re-enable background-fetch 2021-03-03 21:37:15 +05:30
Vishnu Mohandas b9e9aa393a Take a lock on a file before triggering it's upload 2021-03-03 21:37:02 +05:30
Vishnu Mohandas 2d4fc30de3 Use a global state for the app being in background 2021-03-03 21:33:03 +05:30
Vishnu Mohandas cecfd7fefc Remove stack traces 2021-03-02 11:38:29 +05:30
Vishnu Mohandas aa52fea50a Remove headless task 2021-03-02 05:06:58 +05:30
Vishnu Mohandas 2d8041e77d Upgrade background_fetch 2021-03-02 03:39:15 +05:30
Vishnu Mohandas 9aed192e16 Upgrade Zone API 2021-03-02 00:56:35 +05:30
Vishnu Mohandas 8bafb4e4fb Revert "Remove stack traces"
This reverts commit 19bb5fdd26.
2021-03-02 00:54:02 +05:30
Vishnu Mohandas 19bb5fdd26 Remove stack traces 2021-03-02 00:25:45 +05:30
Vishnu Mohandas f8da6378f7 Safeguard against multiple syncs 2021-02-26 19:39:45 +05:30
Vishnu Mohandas 191e1e7b90 Run background tasks with logs 2021-02-26 17:19:35 +05:30
Vishnu Mohandas 71503f254f Update log statements 2021-02-26 16:35:54 +05:30
Vishnu Mohandas 93b38bbe43 Skip sync if already in progress 2021-02-26 15:20:52 +05:30
Vishnu Mohandas 64354e7714 Prevent duplicate initialization from the background task 2021-02-26 14:30:40 +05:30
Vishnu Mohandas f2dee27862 Configure different sentry instance for debug builds 2021-02-09 17:05:45 +05:30
Vishnu Mohandas 1c6b3d8af7 Catch errors during initialization 2021-02-09 13:44:39 +05:30