π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: update swift file to handle homeWidget deep link
Prateek Sunaldb88432b9ddd
diff --git a/mobile/apps/photos/ios/Runner/AppDelegate.swift b/mobile/apps/photos/ios/Runner/AppDelegate.swiftindex cbf287bc52..ea777b81ad 100644--- a/mobile/apps/photos/ios/Runner/AppDelegate.swift+++ b/mobile/apps/photos/ios/Runner/AppDelegate.swift@@ -27,9 +27,12 @@ import workmanager// Retrieve the link from parametersif let url = AppLinks.shared.getLink(launchOptions: launchOptions) {- // We have a link, propagate it to your Flutter app or not- AppLinks.shared.handleLink(url: url)- return true // Returning true will stop the propagation to other packages+ // only accept non-homewidget urls for AppLinks+ if let host = url.host, !host.contains("&homeWidget") {+ AppLinks.shared.handleLink(url: url)+ // We have a link, propagate it to your Flutter app or not+ return true // Returning true will stop the propagation to other packages+ }}return super.application(application, didFinishLaunchingWithOptions: launchOptions)