π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Open albums.ente.io links and not albums.ente.sh
ashilkn4532b4ea8fe6
diff --git a/mobile/android/app/src/main/AndroidManifest.xml b/mobile/android/app/src/main/AndroidManifest.xmlindex 0117b19f95..808229a141 100644--- a/mobile/android/app/src/main/AndroidManifest.xml+++ b/mobile/android/app/src/main/AndroidManifest.xml@@ -53,7 +53,7 @@<category android:name="android.intent.category.BROWSABLE" /><dataandroid:scheme="https"- android:host="albums.ente.sh"/>+ android:host="albums.ente.io"/></intent-filter><!-- file provider to share files having a file:// URI -->diff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plistindex a71a377eaf..0956f839c7 100644--- a/mobile/ios/Runner/Info.plist+++ b/mobile/ios/Runner/Info.plist@@ -50,7 +50,7 @@</dict><dict><key>CFBundleURLName</key>- <string>albums.ente.sh</string>+ <string>albums.ente.io</string><key>CFBundleURLSchemes</key><array><string>https</string>diff --git a/mobile/ios/Runner/Runner.entitlements b/mobile/ios/Runner/Runner.entitlementsindex 77b83d3b8c..970467a5bb 100644--- a/mobile/ios/Runner/Runner.entitlements+++ b/mobile/ios/Runner/Runner.entitlements@@ -7,7 +7,7 @@<key>com.apple.developer.associated-domains</key><array><string>webcredentials:web.ente.io</string>- <string>applinks:albums.ente.sh</string>+ <string>applinks:albums.ente.io</string></array><key>com.apple.security.application-groups</key><array>diff --git a/mobile/lib/ui/tabs/home_widget.dart b/mobile/lib/ui/tabs/home_widget.dartindex 0002278cd2..8f802ceee1 100644--- a/mobile/lib/ui/tabs/home_widget.dart+++ b/mobile/lib/ui/tabs/home_widget.dart@@ -412,7 +412,7 @@ class _HomeWidgetState extends State<HomeWidget> {_intentDataStreamSubscription =ReceiveSharingIntent.instance.getMediaStream().listen((List<SharedMediaFile> value) {- if (value[0].path.contains("albums.ente.sh")) {+ if (value[0].path.contains("albums.ente.io")) {final uri = Uri.parse(value[0].path);_handlePublicAlbumLink(uri);return;@@ -475,7 +475,7 @@ class _HomeWidgetState extends State<HomeWidget> {.getInitialMedia().then((List<SharedMediaFile> value) {if (mounted) {- if (value[0].path.contains("albums.ente.sh")) {+ if (value[0].path.contains("albums.ente.io")) {final uri = Uri.parse(value[0].path);_handlePublicAlbumLink(uri);return;@@ -508,7 +508,7 @@ class _HomeWidgetState extends State<HomeWidget> {try {final initialUri = await getInitialUri();if (initialUri != null) {- if (initialUri.toString().contains("albums.ente.sh")) {+ if (initialUri.toString().contains("albums.ente.io")) {await _handlePublicAlbumLink(initialUri);} else {_logger.info(@@ -527,7 +527,7 @@ class _HomeWidgetState extends State<HomeWidget> {_publicAlbumLinkSubscription = uriLinkStream.listen((Uri? uri) {if (uri != null) {- if (uri.toString().contains("albums.ente.sh")) {+ if (uri.toString().contains("albums.ente.io")) {_handlePublicAlbumLink(uri);} else {_logger.info(diff --git a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dartindex 0222e8c3f0..6f0e767bea 100644--- a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart+++ b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart@@ -203,7 +203,9 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {galleryType != GalleryType.quickLink) {showToast(context,- S.of(context).typeOfGallerGallerytypeIsNotSupportedForRename("$galleryType"),+ S+ .of(context)+ .typeOfGallerGallerytypeIsNotSupportedForRename("$galleryType"),);return;@@ -864,7 +866,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {MaterialPageRoute(builder: (context) => WebPage(widget.title ?? "",- "https://albums.ente.sh/?t=$authToken#$albumKey",+ "https://albums.ente.io/?t=$authToken#$albumKey",),),);