Skip to content

Commit f15db04

Browse files
committed
feat: add redirection handling
1 parent d589baa commit f15db04

File tree

3 files changed

+45947
-8057
lines changed

3 files changed

+45947
-8057
lines changed
Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,39 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.openloginreactnativesdkdemo2">
33

4-
<uses-permission android:name="android.permission.INTERNET" />
4+
<uses-permission android:name="android.permission.INTERNET" />
55

6-
<application
7-
android:name=".MainApplication"
6+
<application
7+
android:name=".MainApplication"
8+
android:allowBackup="false"
9+
android:icon="@mipmap/ic_launcher"
10+
android:label="@string/app_name"
11+
android:roundIcon="@mipmap/ic_launcher_round"
12+
android:theme="@style/AppTheme">
13+
<activity
14+
android:name=".MainActivity"
15+
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
16+
android:exported="true"
817
android:label="@string/app_name"
9-
android:icon="@mipmap/ic_launcher"
10-
android:roundIcon="@mipmap/ic_launcher_round"
11-
android:allowBackup="false"
12-
android:theme="@style/AppTheme">
13-
<activity
14-
android:name=".MainActivity"
15-
android:label="@string/app_name"
16-
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
17-
android:launchMode="singleTask"
18-
android:windowSoftInputMode="adjustResize"
19-
android:exported="true">
20-
<intent-filter>
21-
<action android:name="android.intent.action.MAIN" />
22-
<category android:name="android.intent.category.LAUNCHER" />
23-
</intent-filter>
24-
</activity>
25-
</application>
18+
android:launchMode="singleTask"
19+
android:windowSoftInputMode="adjustResize">
20+
<intent-filter>
21+
<action android:name="android.intent.action.MAIN" />
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
<intent-filter>
25+
<action android:name="android.intent.action.VIEW" />
26+
27+
<category android:name="android.intent.category.DEFAULT" />
28+
<category android:name="android.intent.category.BROWSABLE" />
29+
30+
<!-- Accept URIs: {YOUR_APP_PACKAGE_NAME}://* -->
31+
<data
32+
android:host="auth"
33+
android:scheme="com.example.openloginreactnativesdk"
34+
android:pathPattern="/*"
35+
/>
36+
</intent-filter>
37+
</activity>
38+
</application>
2639
</manifest>

0 commit comments

Comments
 (0)