我知道我们可以使用 Android Deep Links 打开android应用,并根据需要产生结果。但是,有没有办法从网络浏览器打开Flutter应用程序? this is what that i found at this platform
答案 0 :(得分:0)
对于Flutter应用,权限的配置方式与相应的本机配置完全相同。 Android:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="poc"
android:host="deeplink.flutter.dev" />
</intent-filter>
IOS:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>deeplink.flutter.dev</string>
<key>CFBundleURLSchemes</key>
<array>
<string>poc</string>
</array>
</dict>
</array>