Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Configure clicking on albums.ente.sh links to open up the app on iOS

ashilkn0a6e1a5730f9
diff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plist
index 0ca923036d..a71a377eaf 100644
--- a/mobile/ios/Runner/Info.plist
+++ b/mobile/ios/Runner/Info.plist
@@ -1,129 +1,125 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
- <dict>
- <key>BGTaskSchedulerPermittedIdentifiers</key>
- <array>
- <string>com.transistorsoft.fetch</string>
- </array>
- <key>CFBundleDevelopmentRegion</key>
- <string>$(DEVELOPMENT_LANGUAGE)</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>Ente Photos</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>$(FLUTTER_BUILD_NAME)</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>MinimumOSVersion</key>
- <string>12.1</string>
- <key>LSApplicationQueriesSchemes</key>
- <array>
- <string>googlegmail</string>
- <string>x-dispatch</string>
- <string>readdle-spark</string>
- <string>airmail</string>
- <string>ms-outlook</string>
- <string>ymail</string>
- <string>fastmail</string>
- <string>superhuman</string>
- <string>protonmail</string>
- </array>
- <key>CFBundleURLTypes</key>
- <array>
- <dict>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>CFBundleURLName</key>
- <string>io.ente.frame</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>ente</string>
- </array>
- </dict>
- </array>
- <key>CFBundleVersion</key>
- <string>$(FLUTTER_BUILD_NUMBER)</string>
- <key>FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED</key>
- <true/>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>NSAppTransportSecurity</key>
+<dict>
+ <key>BGTaskSchedulerPermittedIdentifiers</key>
+ <array>
+ <string>com.transistorsoft.fetch</string>
+ </array>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>Ente Photos</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>$(FLUTTER_BUILD_NAME)</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>MinimumOSVersion</key>
+ <string>12.1</string>
+ <key>LSApplicationQueriesSchemes</key>
+ <array>
+ <string>googlegmail</string>
+ <string>x-dispatch</string>
+ <string>readdle-spark</string>
+ <string>airmail</string>
+ <string>ms-outlook</string>
+ <string>ymail</string>
+ <string>fastmail</string>
+ <string>superhuman</string>
+ <string>protonmail</string>
+ </array>
+ <key>CFBundleURLTypes</key>
+ <array>
<dict>
- <key>NSAllowsArbitraryLoads</key>
- <true/>
- <key>NSAllowsArbitraryLoadsInWebContent</key>
- <true/>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>CFBundleURLName</key>
+ <string>io.ente.frame</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>ente</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleURLName</key>
+ <string>albums.ente.sh</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>https</string>
+ </array>
</dict>
- <key>ITSAppUsesNonExemptEncryption</key>
- <false/>
- <key>FLTEnableImpeller</key>
- <true />
- <key>FLTEnableWideGamut</key>
- <true/>
- <key>NSFaceIDUsageDescription</key>
- <string>Please allow ente to lock itself with FaceID or TouchID</string>
- <key>NSCameraUsageDescription</key>
- <string>Please allow access to your camera so that you can take photos within ente</string>
- <key>NSPhotoLibraryUsageDescription</key>
- <string>Please allow access to your photos so that ente can encrypt and back them up.</string>
- <key>UIBackgroundModes</key>
- <array>
- <string>fetch</string>
- <string>processing</string>
- <string>remote-notification</string>
- </array>
- <key>UILaunchStoryboardName</key>
- <string>LaunchScreen</string>
- <key>UIMainStoryboardFile</key>
- <string>Main</string>
- <key>UIStatusBarHidden</key>
- <false/>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
- <key>UISupportedInterfaceOrientations~ipad</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationPortraitUpsideDown</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
- <key>UIViewControllerBasedStatusBarAppearance</key>
- <false/>
- <key>CADisableMinimumFrameDurationOnPhone</key>
+ </array>
+ <key>CFBundleVersion</key>
+ <string>$(FLUTTER_BUILD_NUMBER)</string>
+ <key>FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED</key>
+ <true/>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSAppTransportSecurity</key>
+ <dict>
+ <key>NSAllowsArbitraryLoads</key>
<true/>
- <key>UIApplicationSupportsIndirectInputEvents</key>
+ <key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
- <key>NSBonjourServices</key>
- <array>
- <string>_googlecast._tcp</string>
- <string>_F5BCEC64._googlecast._tcp</string>
- </array>
-
- <key>NSLocalNetworkUsageDescription</key>
- <string>${PRODUCT_NAME} uses the local network to discover Cast-enabled devices on your WiFi
- network.</string>
- <key>CFBundleURLTypes</key>
- <array>
- <dict>
- <key>CFBundleURLName</key>
- <string>albums.ente.sh</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>https</string>
- </array>
- </dict>
- </array>
</dict>
+ <key>ITSAppUsesNonExemptEncryption</key>
+ <false/>
+ <key>FLTEnableImpeller</key>
+ <true/>
+ <key>FLTEnableWideGamut</key>
+ <true/>
+ <key>NSFaceIDUsageDescription</key>
+ <string>Please allow ente to lock itself with FaceID or TouchID</string>
+ <key>NSCameraUsageDescription</key>
+ <string>Please allow access to your camera so that you can take photos within ente</string>
+ <key>NSPhotoLibraryUsageDescription</key>
+ <string>Please allow access to your photos so that ente can encrypt and back them up.</string>
+ <key>UIBackgroundModes</key>
+ <array>
+ <string>fetch</string>
+ <string>processing</string>
+ <string>remote-notification</string>
+ </array>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UIMainStoryboardFile</key>
+ <string>Main</string>
+ <key>UIStatusBarHidden</key>
+ <false/>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UIViewControllerBasedStatusBarAppearance</key>
+ <false/>
+ <key>CADisableMinimumFrameDurationOnPhone</key>
+ <true/>
+ <key>UIApplicationSupportsIndirectInputEvents</key>
+ <true/>
+ <key>NSBonjourServices</key>
+ <array>
+ <string>_googlecast._tcp</string>
+ <string>_F5BCEC64._googlecast._tcp</string>
+ </array>
+ <key>NSLocalNetworkUsageDescription</key>
+ <string>${PRODUCT_NAME} uses the local network to discover Cast-enabled devices on your WiFi
+ network.</string>
+</dict>
</plist>
diff --git a/mobile/ios/Runner/Runner.entitlements b/mobile/ios/Runner/Runner.entitlements
index 6155803438..77b83d3b8c 100644
--- a/mobile/ios/Runner/Runner.entitlements
+++ b/mobile/ios/Runner/Runner.entitlements
@@ -7,6 +7,7 @@
<key>com.apple.developer.associated-domains</key>
<array>
<string>webcredentials:web.ente.io</string>
+ <string>applinks:albums.ente.sh</string>
</array>
<key>com.apple.security.application-groups</key>
<array>