π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
update iOS 14.0 deployment target and fix workmanager module
Prateek Sunalc01c1f5adc97
diff --git a/mobile/apps/photos/ios/Podfile b/mobile/apps/photos/ios/Podfileindex 4d40144c92..b1285c80b7 100644--- a/mobile/apps/photos/ios/Podfile+++ b/mobile/apps/photos/ios/Podfile@@ -1,5 +1,5 @@source 'https://github.com/ente-io/ffmpeg-kit-custom-repo-ios.git'-platform :ios, '13.0'+platform :ios, '14.0'source 'https://cdn.cocoapods.org/'diff --git a/mobile/apps/photos/ios/Podfile.lock b/mobile/apps/photos/ios/Podfile.lockindex 2d5512635d..ab4fc2d629 100644--- a/mobile/apps/photos/ios/Podfile.lock+++ b/mobile/apps/photos/ios/Podfile.lock@@ -248,7 +248,7 @@ PODS:- Flutter- wakelock_plus (0.0.1):- Flutter- - workmanager (0.0.1):+ - workmanager_apple (0.0.1):- FlutterDEPENDENCIES:@@ -312,7 +312,7 @@ DEPENDENCIES:- video_thumbnail (from `.symlinks/plugins/video_thumbnail/ios`)- volume_controller (from `.symlinks/plugins/volume_controller/ios`)- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)- - workmanager (from `.symlinks/plugins/workmanager/ios`)+ - workmanager_apple (from `.symlinks/plugins/workmanager_apple/ios`)SPEC REPOS:https://github.com/ente-io/ffmpeg-kit-custom-repo-ios.git:@@ -458,8 +458,8 @@ EXTERNAL SOURCES::path: ".symlinks/plugins/volume_controller/ios"wakelock_plus::path: ".symlinks/plugins/wakelock_plus/ios"- workmanager:- :path: ".symlinks/plugins/workmanager/ios"+ workmanager_apple:+ :path: ".symlinks/plugins/workmanager_apple/ios"SPEC CHECKSUMS:app_links: 76b66b60cc809390ca1ad69bfd66b998d2387ac7@@ -541,7 +541,7 @@ SPEC CHECKSUMS:video_thumbnail: b637e0ad5f588ca9945f6e2c927f73a69a661140volume_controller: 3657a1f65bedb98fa41ff7dc5793537919f31b12wakelock_plus: e29112ab3ef0b318e58cfa5c32326458be66b556- workmanager: 05afacf221f5086e18450250dce57f59bb23e6b0+ workmanager_apple: 904529ae31e97fc5be632cf628507652294a0778PODFILE CHECKSUM: a8b53b6b8f839f86800cd8e9743dfea13bedf8c0diff --git a/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj b/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxprojindex 35b522a304..3cbc017793 100644--- a/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj+++ b/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj@@ -25,7 +25,7 @@CEE6BE702D7AE7FD00E4048B /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6DACD83C2B755B0600BA9516 /* WidgetKit.framework */; };CEE6BE712D7AE7FD00E4048B /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6DACD83E2B755B0600BA9516 /* SwiftUI.framework */; };CEE6BE7C2D7AE7FE00E4048B /* EnteMemoryWidgetExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = CEE6BE6F2D7AE7FD00E4048B /* EnteMemoryWidgetExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };- DA6BE5E826B3BC8600656280 /* (null) in Resources */ = {isa = PBXBuildFile; };+ DA6BE5E826B3BC8600656280 /* BuildFile in Resources */ = {isa = PBXBuildFile; };/* End PBXBuildFile section *//* Begin PBXContainerItemProxy section */@@ -112,21 +112,21 @@/* End PBXFileReference section *//* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */- CEE166342DD5E7830012CF61 /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = {+ CEE166342DD5E7830012CF61 /* Exceptions for "EnteAlbumWidget" folder in "EnteAlbumWidgetExtension" target */ = {isa = PBXFileSystemSynchronizedBuildFileExceptionSet;membershipExceptions = (Info.plist,);target = CEE166222DD5E7820012CF61 /* EnteAlbumWidgetExtension */;};- CEE1668C2DD5F6F30012CF61 /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = {+ CEE1668C2DD5F6F30012CF61 /* Exceptions for "EntePeopleWidget" folder in "EntePeopleWidgetExtension" target */ = {isa = PBXFileSystemSynchronizedBuildFileExceptionSet;membershipExceptions = (Info.plist,);target = CEE1667A2DD5F6F20012CF61 /* EntePeopleWidgetExtension */;};- CEE6BE802D7AE7FE00E4048B /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = {+ CEE6BE802D7AE7FE00E4048B /* Exceptions for "EnteMemoryWidget" folder in "EnteMemoryWidgetExtension" target */ = {isa = PBXFileSystemSynchronizedBuildFileExceptionSet;membershipExceptions = (Info.plist,@@ -136,9 +136,42 @@/* End PBXFileSystemSynchronizedBuildFileExceptionSet section *//* Begin PBXFileSystemSynchronizedRootGroup section */- CEE166262DD5E7820012CF61 /* EnteAlbumWidget */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (CEE166342DD5E7830012CF61 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = EnteAlbumWidget; sourceTree = "<group>"; };- CEE1667E2DD5F6F20012CF61 /* EntePeopleWidget */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (CEE1668C2DD5F6F30012CF61 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = EntePeopleWidget; sourceTree = "<group>"; };- CEE6BE722D7AE7FD00E4048B /* EnteMemoryWidget */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (CEE6BE802D7AE7FE00E4048B /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = EnteMemoryWidget; sourceTree = "<group>"; };+ CEE166262DD5E7820012CF61 /* EnteAlbumWidget */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ CEE166342DD5E7830012CF61 /* Exceptions for "EnteAlbumWidget" folder in "EnteAlbumWidgetExtension" target */,+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = EnteAlbumWidget;+ sourceTree = "<group>";+ };+ CEE1667E2DD5F6F20012CF61 /* EntePeopleWidget */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ CEE1668C2DD5F6F30012CF61 /* Exceptions for "EntePeopleWidget" folder in "EntePeopleWidgetExtension" target */,+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = EntePeopleWidget;+ sourceTree = "<group>";+ };+ CEE6BE722D7AE7FD00E4048B /* EnteMemoryWidget */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ CEE6BE802D7AE7FE00E4048B /* Exceptions for "EnteMemoryWidget" folder in "EnteMemoryWidgetExtension" target */,+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = EnteMemoryWidget;+ sourceTree = "<group>";+ };/* End PBXFileSystemSynchronizedRootGroup section *//* Begin PBXFrameworksBuildPhase section */@@ -413,7 +446,7 @@3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,- DA6BE5E826B3BC8600656280 /* (null) in Resources */,+ DA6BE5E826B3BC8600656280 /* BuildFile in Resources */,277218A0270F596900FFE3CC /* GoogleService-Info.plist in Resources */,);runOnlyForDeploymentPostprocessing = 0;@@ -549,7 +582,7 @@"${BUILT_PRODUCTS_DIR}/video_thumbnail/video_thumbnail.framework","${BUILT_PRODUCTS_DIR}/volume_controller/volume_controller.framework","${BUILT_PRODUCTS_DIR}/wakelock_plus/wakelock_plus.framework",- "${BUILT_PRODUCTS_DIR}/workmanager/workmanager.framework",+ "${BUILT_PRODUCTS_DIR}/workmanager_apple/workmanager_apple.framework","${PODS_XCFRAMEWORKS_BUILD_DIR}/ffmpeg_kit_custom/ffmpegkit.framework/ffmpegkit","${PODS_XCFRAMEWORKS_BUILD_DIR}/ffmpeg_kit_custom/libavcodec.framework/libavcodec","${PODS_XCFRAMEWORKS_BUILD_DIR}/ffmpeg_kit_custom/libavdevice.framework/libavdevice",@@ -648,7 +681,7 @@"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/video_thumbnail.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/volume_controller.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/wakelock_plus.framework",- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/workmanager.framework",+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/workmanager_apple.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ffmpegkit.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/libavcodec.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/libavdevice.framework",@@ -841,7 +874,7 @@GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;GCC_WARN_UNUSED_FUNCTION = YES;GCC_WARN_UNUSED_VARIABLE = YES;- IPHONEOS_DEPLOYMENT_TARGET = 13.0;+ IPHONEOS_DEPLOYMENT_TARGET = 14.0;MACH_O_TYPE = mh_execute;MTL_ENABLE_DEBUG_INFO = NO;SDKROOT = iphoneos;@@ -874,7 +907,7 @@);INFOPLIST_FILE = Runner/Info.plist;INFOPLIST_KEY_CFBundleDisplayName = "Ente Photos";- IPHONEOS_DEPLOYMENT_TARGET = 13.0;+ IPHONEOS_DEPLOYMENT_TARGET = 14.0;LD_RUNPATH_SEARCH_PATHS = ("$(inherited)","@executable_path/Frameworks",@@ -945,7 +978,7 @@GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;GCC_WARN_UNUSED_FUNCTION = YES;GCC_WARN_UNUSED_VARIABLE = YES;- IPHONEOS_DEPLOYMENT_TARGET = 13.0;+ IPHONEOS_DEPLOYMENT_TARGET = 14.0;MACH_O_TYPE = mh_execute;MTL_ENABLE_DEBUG_INFO = YES;ONLY_ACTIVE_ARCH = YES;@@ -1005,7 +1038,7 @@GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;GCC_WARN_UNUSED_FUNCTION = YES;GCC_WARN_UNUSED_VARIABLE = YES;- IPHONEOS_DEPLOYMENT_TARGET = 13.0;+ IPHONEOS_DEPLOYMENT_TARGET = 14.0;MACH_O_TYPE = mh_execute;MTL_ENABLE_DEBUG_INFO = NO;SDKROOT = iphoneos;@@ -1040,7 +1073,7 @@);INFOPLIST_FILE = Runner/Info.plist;INFOPLIST_KEY_CFBundleDisplayName = "Ente Photos";- IPHONEOS_DEPLOYMENT_TARGET = 13.0;+ IPHONEOS_DEPLOYMENT_TARGET = 14.0;LD_RUNPATH_SEARCH_PATHS = ("$(inherited)","@executable_path/Frameworks",@@ -1081,7 +1114,7 @@);INFOPLIST_FILE = Runner/Info.plist;INFOPLIST_KEY_CFBundleDisplayName = "Ente Photos";- IPHONEOS_DEPLOYMENT_TARGET = 13.0;+ IPHONEOS_DEPLOYMENT_TARGET = 14.0;LD_RUNPATH_SEARCH_PATHS = ("$(inherited)","@executable_path/Frameworks",diff --git a/mobile/apps/photos/ios/Runner/AppDelegate.swift b/mobile/apps/photos/ios/Runner/AppDelegate.swiftindex 8673b08bc4..bd6537a952 100644--- a/mobile/apps/photos/ios/Runner/AppDelegate.swift+++ b/mobile/apps/photos/ios/Runner/AppDelegate.swift@@ -2,7 +2,7 @@ import AVFoundationimport Flutterimport UIKitimport app_links-import workmanager+import workmanager_apple@main@objc class AppDelegate: FlutterAppDelegate {