Skip to content

Commit 397e4b7

Browse files
committed
Fix authentication flow Android config from README
1 parent b3a9d78 commit 397e4b7

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,16 @@ define your app scheme and replace `my-scheme` and `my-host` with your info.
236236

237237
- Enable deep linking (Android) - **[AndroidManifest.xml](https://github.com/proyecto26/react-native-inappbrowser/blob/master/example/android/app/src/main/AndroidManifest.xml#L23)**
238238
```
239-
<intent-filter>
240-
<action android:name="android.intent.action.VIEW" />
241-
<category android:name="android.intent.category.DEFAULT" />
242-
<category android:name="android.intent.category.BROWSABLE" />
243-
<data android:scheme="my-scheme" android:host="my-host" android:pathPrefix="" />
244-
</intent-filter>
239+
<activity
240+
...
241+
android:launchMode="singleTask">
242+
<intent-filter>
243+
<action android:name="android.intent.action.VIEW" />
244+
<category android:name="android.intent.category.DEFAULT" />
245+
<category android:name="android.intent.category.BROWSABLE" />
246+
<data android:scheme="my-scheme" android:host="my-host" android:pathPrefix="" />
247+
</intent-filter>
248+
</activity>
245249
```
246250

247251
- Enable deep linking (iOS) - **[Info.plist](https://github.com/proyecto26/react-native-inappbrowser/blob/master/example/ios/example/Info.plist#L23)**

0 commit comments

Comments
 (0)