Menu

Post image 1
Post image 2
1 / 2
0

Flutter Deep Links — App Links, Universal Links, and go_router Integration

DEV Community·kanta13jp1·about 1 month ago
#61Nq1KUJ
Reading 0:00
15s threshold

Flutter Deep Links — App Links, Universal Links, and go_router Integration Implementing deep links that open the app from both myapp:// and https:// URLs. Android: App Links Setup <!-- android/app/src/main/AndroidManifest.xml --> <activity ... > <intent-filter android:autoVerify= "true" > <action android:name= "android.intent.action.VIEW" /> <category android:name= "android.intent.category.DEFAULT" /> <category android:name= "android.intent.category.BROWSABLE" /> <data android:scheme= "https" android:host= "myapp.example.com" /> </intent-filter> </activity> Enter fullscreen mode Exit fullscreen mode // web/.well-known/assetlinks.json (served from Firebase Hosting) [{ "relation" : [ "delegate_permission/common.handle_all_urls" ], "target" : { "namespace" : "android_app" , "package_name" : "com.example.myapp" , "sha256_cert_fingerprints" : [ "AA:BB:CC:..." ] } }] Enter fullscreen mode Exit fullscreen mode iOS: Universal Links Setup <!--…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More