immich/mobile/ios
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
..
ci_scripts Added custom buildscript for XCodeCloud 2022-11-21 13:54:30 -06:00
fastlane Version v1.47.3 2023-02-16 03:38:44 +00:00
Flutter Fixed sliverappbar icon color to conform with theming 2022-09-06 08:18:07 -05:00
Runner feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00
Runner.xcodeproj feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00
Runner.xcworkspace Transfer repository from Gitlab 2022-02-03 10:06:44 -06:00
.gitignore Release mobile hotfix 2022-12-01 23:16:22 -06:00
Gemfile Change version of fastlane to override the current upload error to TestFlight 2022-03-18 20:39:31 -05:00
Gemfile.lock Integrate Fastlane CI/CD (#44) 2022-03-11 10:59:31 -06:00
Podfile chore(mobile): Upgrade to Flutter 3.7 (#1416) 2023-02-11 14:23:32 -06:00
Podfile.lock feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00