Android deep linking

Close #4025
This commit is contained in:
Feodor Fitsner 2024-10-06 12:04:45 -07:00
parent 25b9a484c3
commit 81d6931fa7
1 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,16 @@
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" /> <!-- Google TV -->
</intent-filter>
<!-- {% if cookiecutter.options.deep_linking_url %} -->
<meta-data android:name="flutter_deeplinking_enabled" android:value="true" />
<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="{{ cookiecutter.options.deep_linking_url.scheme }}"
android:host="{{ cookiecutter.options.deep_linking_url.netloc }}" />
</intent-filter>
<!-- {% endif %} -->
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->