forked from authgear/authgear-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
60 lines (55 loc) · 2.54 KB
/
AndroidManifest.xml
File metadata and controls
60 lines (55 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<!-- NOTE(backup): Please search NOTE(backup) before you modify allowBackup, fullBackupContent, or dataExtractionRules -->
<application
android:name=".MainApplication"
android:allowBackup="true"
android:fullBackupContent="@xml/full_backup_content"
android:dataExtractionRules="@xml/data_extraction_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/AppTheme"
android:supportsRtl="true">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- WeChat SDK -->
<activity
android:name=".wxapi.WXEntryActivity"
android:exported="true"
android:label="@string/app_name"
android:launchMode="singleTask"
android:taskAffinity="com.reactnativeexample"
android:theme="@android:style/Theme.Translucent.NoTitleBar"></activity>
<!-- Authgear SDK -->
<activity
android:name="com.authgear.reactnative.OAuthRedirectActivity"
android:launchMode="singleTask"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Configure data to be the exact redirect URI your app uses. -->
<!-- NOTE: The redirectURI supplied in AuthenticateOptions has to match as well -->
<data
android:host="host"
android:pathPrefix="/path"
android:scheme="com.authgear.example.rn" />
<data
android:host="host"
android:pathPrefix="/open_wechat_app"
android:scheme="com.authgear.example.rn" />
</intent-filter>
</activity>
</application>
</manifest>