Skip to content

Commit 5d40374

Browse files
committed
refactor(android): add Firebase Dynamic Links intent filter
- Added intent filter for dynamic links - Configured scheme and host
1 parent c45b95e commit 5d40374

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
<action android:name="android.intent.action.MAIN"/>
2525
<category android:name="android.intent.category.LAUNCHER"/>
2626
</intent-filter>
27+
<!-- Firebase Dynamic Links Intent Filter -->
28+
<intent-filter android:autoVerify="true">
29+
<action android:name="android.intent.action.VIEW"/>
30+
<category android:name="android.intent.category.DEFAULT"/>
31+
<category android:name="android.intent.category.BROWSABLE"/>
32+
<!-- Accepts URIs that begin with your dynamic link domain -->
33+
<data android:scheme="https" android:host="htmain.page.link" />
34+
</intent-filter>
2735
</activity>
2836
<!-- Don't delete the meta-data below.
2937
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ht_main
22
description: main headlines toolkit mobile app.
3-
version: 0.37.4
3+
version: 0.37.5
44
publish_to: none
55
repository: https://github.com/headlines-toolkit/ht-main
66
environment:

0 commit comments

Comments
 (0)