Skip to content

Commit 49ca3ad

Browse files
author
gopi2401
committed
Fix: reel share intent
1 parent 1cfe154 commit 49ca3ad

File tree

5 files changed

+336
-283
lines changed

5 files changed

+336
-283
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,23 @@
3333
<action android:name="android.intent.action.MAIN"/>
3434
<category android:name="android.intent.category.LAUNCHER"/>
3535
</intent-filter>
36+
<!-- Receive shared text (e.g. from YouTube "Share" intent) -->
37+
<intent-filter>
38+
<action android:name="android.intent.action.SEND" />
39+
<category android:name="android.intent.category.DEFAULT" />
40+
<data android:mimeType="text/plain" />
41+
</intent-filter>
42+
43+
<!-- Handle http/https links for YouTube so the app can appear
44+
as a target for link sharing / deep links -->
45+
<intent-filter android:autoVerify="true">
46+
<action android:name="android.intent.action.VIEW" />
47+
<category android:name="android.intent.category.DEFAULT" />
48+
<category android:name="android.intent.category.BROWSABLE" />
49+
<data android:scheme="https" android:host="www.youtube.com" />
50+
<data android:scheme="https" android:host="youtube.com" />
51+
<data android:scheme="https" android:host="youtu.be" />
52+
</intent-filter>
3653
</activity>
3754
<!-- Don't delete the meta-data below.
3855
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->

0 commit comments

Comments
 (0)