1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00
immich/mobile
martyfuhry 87fea29e32
feat(mobile): iOS background sync (#1758)
* first run of getting background sync working in iOS

* got background sync calling into flutter

* added background task

* added necessary sync files

* fixed some names and added more implementations

* got as far as Hive.initFlutter

* brute force got to await Hive.initFlutter

* lots of print statements to figure out where execution is failing, and its failing at the root asset bundle in the localization.dart service

* first time working, got plugins registered

* removed broken cleanup code

* refactored

* linters

* now can pass user settings

* background service plugin uses app background processing instead of fetch

* renamed backgroundFetch to backgroundProcessing to make it clearer

* don't use max delay

* adds fetch back in

* fixes require charging default values and backup controller page

* fixes background fetch

* fixes ios not importing photos

* guarded path provider ios

* lint

* adds max tries for heartbeat to work in iOS

* fail after seconds

* timeout instead of fail after seconds

* removes release lock from system stop

* restores checkLockReleasedWithHeartbeat to Future<void>

* removes max tries from acquire lock

* fixes lock timeout with iOS

* restored for loop

* adds comments, made the AppRefresh task only run while not requiring network or charge

* fixed compile issue

* now both are registered and added better comments. also added ability for task to cancel itself

* added the podfile and pubspec

* added backup diagnostics to IOS and removed iOS ignored backup options and fixed network connectivity always required

* Added Alex's dev team

* styled debug list item, fixed refresh task not set bug, fixed enable / disable background service on platform channel

---------

Co-authored-by: Marty Fuhry <marty@fuhry.farm>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-02-20 05:59:50 +00:00
..
.fvm infra(server)!: fix typeorm asset entity relations (#1782) 2023-02-19 16:44:53 +00:00
android Version v1.47.3 2023-02-16 03:38:44 +00:00
assets [Localizely] Translations update (#1773) 2023-02-16 10:01:04 -06:00
fonts feat(mobile) Add in app logging to show app's log information (#1014) 2022-11-27 14:34:19 -06:00
integration_test test(app): fix integration test and improve reliability and speed (#1792) 2023-02-19 17:50:36 +00:00
ios feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00
lib feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00
openapi chore(server): typeorm definitions fix part 3 (#1796) 2023-02-20 01:50:27 +00:00
scripts
test infra(server)!: fix typeorm asset entity relations (#1782) 2023-02-19 16:44:53 +00:00
.gitignore feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00
.metadata
analysis_options.yaml
flutter_01.png feat(mobile): Rework of the exif sheet (#1213) 2023-01-11 14:54:12 -06:00
flutter_native_splash.yaml fix(mobile): Added flutter native splash and splash screens (#1520) 2023-02-06 00:41:07 -06:00
makefile fix(mobile): Added flutter native splash and splash screens (#1520) 2023-02-06 00:41:07 -06:00
pubspec.lock feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00
pubspec.yaml feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00
README.md

Immich Mobile Application - Flutter