Skip to content

Commit 8e0f348

Browse files
committed
Create URL scheme for Android
1 parent 4f332d0 commit 8e0f348

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

TestAuth/android/app/src/main/AndroidManifest.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,20 @@
1818
android:theme="@style/AppTheme">
1919
<activity
2020
android:name=".MainActivity"
21+
android:launchMode="singleTask"
2122
android:label="@string/app_name"
2223
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
2324
android:windowSoftInputMode="adjustResize">
2425
<intent-filter>
2526
<action android:name="android.intent.action.MAIN" />
2627
<category android:name="android.intent.category.LAUNCHER" />
2728
</intent-filter>
29+
<intent-filter>
30+
<action android:name="android.intent.action.VIEW" />
31+
<category android:name="android.intent.category.DEFAULT"/>
32+
<category android:name="android.intent.category.BROWSABLE"/>
33+
<data android:scheme="myapp"/>
34+
</intent-filter>
2835
</activity>
2936
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
3037
</application>

0 commit comments

Comments
 (0)