mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
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:
parent
653fa3f0b1
commit
6caa11d079
6 changed files with 14 additions and 21 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import BackgroundTasks
|
||||
import Flutter
|
||||
import network_info_plus
|
||||
import path_provider_ios
|
||||
import path_provider_foundation
|
||||
import permission_handler_apple
|
||||
import photo_manager
|
||||
import shared_preferences_foundation
|
||||
|
|
@ -24,8 +24,8 @@ import UIKit
|
|||
BackgroundServicePlugin.register(with: self.registrar(forPlugin: "BackgroundServicePlugin")!)
|
||||
|
||||
BackgroundServicePlugin.setPluginRegistrantCallback { registry in
|
||||
if !registry.hasPlugin("org.cocoapods.path-provider-ios") {
|
||||
FLTPathProviderPlugin.register(with: registry.registrar(forPlugin: "org.cocoapods.path-provider-ios")!)
|
||||
if !registry.hasPlugin("org.cocoapods.path-provider-foundation") {
|
||||
PathProviderPlugin.register(with: registry.registrar(forPlugin: "org.cocoapods.path-provider-foundation")!)
|
||||
}
|
||||
|
||||
if !registry.hasPlugin("org.cocoapods.photo-manager") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue