Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

feat: support universal link / app link on mobile (#6973)

Lucas3522569f97b3
diff --git a/frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xml b/frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xml
index b9a349f2cb..49118a1532 100644
--- a/frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xml
+++ b/frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xml
@@ -36,7 +36,10 @@
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="appflowy-flutter" />
- <!-- <data android:host="login-callback" /> -->
+ <data android:scheme="https" android:host="test.appflowy.io" />
+ <data android:scheme="https" android:host="appflowy.io" />
+ <data android:scheme="https" android:host="test.appflowy.com" />
+ <data android:scheme="https" android:host="appflowy.com" />
</intent-filter>
</activity>
<!--
@@ -50,7 +53,8 @@
<!-- Permission to read files from external storage (outside application container).
As of Android 12 this permission no longer has any effect. Instead use the
READ_MEDIA_IMAGES, READ_MEDIA_VIDEO or READM_MEDIA_AUDIO permissions. -->
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
+ android:maxSdkVersion="32" />
<!-- Permissions to read media files. -->
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<queries>
diff --git a/frontend/appflowy_flutter/ios/Runner/Runner.entitlements b/frontend/appflowy_flutter/ios/Runner/Runner.entitlements
index 80b5221de7..e3bc137465 100644
--- a/frontend/appflowy_flutter/ios/Runner/Runner.entitlements
+++ b/frontend/appflowy_flutter/ios/Runner/Runner.entitlements
@@ -8,5 +8,12 @@
<array>
<string>Default</string>
</array>
+ <key>com.apple.developer.associated-domains</key>
+ <array>
+ <string>applinks:appflowy.com</string>
+ <string>applinks:appflowy.io</string>
+ <string>applinks:test.appflowy.com</string>
+ <string>applinks:test.appflowy.io</string>
+ </array>
</dict>
</plist>