chore(mobile): use path provider foundation (#16804)

* chore(mobile): use path provider foundation

* chore: update podfile

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
shenlong 2025-03-11 19:56:43 +05:30 committed by GitHub
parent 653fa3f0b1
commit 6caa11d079
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 14 additions and 21 deletions

View file

@ -52,7 +52,7 @@ import 'package:immich_mobile/utils/bootstrap.dart';
import 'package:immich_mobile/utils/diff.dart';
import 'package:immich_mobile/utils/http_ssl_cert_override.dart';
import 'package:network_info_plus/network_info_plus.dart';
import 'package:path_provider_ios/path_provider_ios.dart';
import 'package:path_provider_foundation/path_provider_foundation.dart';
import 'package:photo_manager/photo_manager.dart' show PMProgressHandler;
final backgroundServiceProvider = Provider(
@ -322,7 +322,7 @@ class BackgroundService {
// NOTE: I'm not sure this is strictly necessary anymore, but
// out of an abundance of caution, we will keep it in until someone
// can say for sure
PathProviderIOS.registerWith();
PathProviderFoundation.registerWith();
}
switch (call.method) {
case "backgroundProcessing":