AndroidManifest.xml 3 KB
Newer Older
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
1
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Diego Mello's avatar
Diego Mello committed
2
		  xmlns:tools="http://schemas.android.com/tools"
3
	package="chat.rocket.reactnative">
4
5

	<uses-permission android:name="android.permission.INTERNET" />
Diego Mello's avatar
Diego Mello committed
6
	<!-- <uses-permission android:name="android.permission.CAMERA" />
7
	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
8
	<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
9
10
	<uses-permission android:name="android.permission.RECORD_AUDIO" />
	<uses-permission android:name="android.permission.WAKE_LOCK" />
Diego Mello's avatar
Diego Mello committed
11
12
	<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" /> -->
	<!-- <uses-permission-sdk-23 android:name="android.permission.VIBRATE"/> -->
13
14
15
16
17
18
19

	<application
		android:name=".MainApplication"
		android:allowBackup="true"
		android:label="@string/app_name"
		android:icon="@mipmap/ic_launcher"
		android:theme="@style/AppTheme"
20
		android:networkSecurityConfig="@xml/network_security_config"
Diego Mello's avatar
Diego Mello committed
21
	>
22
		<activity
23
24
25
26
27
28
29
30
      android:name="com.zoontek.rnbootsplash.RNBootSplashActivity"
      android:theme="@style/BootTheme">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>
		<activity
31
32
			android:name=".MainActivity"
			android:label="@string/app_name"
Diego Mello's avatar
Diego Mello committed
33
			android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
Diego Mello's avatar
Diego Mello committed
34
			android:launchMode="singleTask"
35
36
			android:windowSoftInputMode="adjustResize"
			android:exported="true">
37
			<intent-filter>
38
				<action android:name="android.intent.action.DOWNLOAD_COMPLETE"/>
39
			</intent-filter>
40
			<intent-filter android:label="@string/app_name">
41
42
43
44
45
46
47
48
49
				<action android:name="android.intent.action.VIEW" />
				<category android:name="android.intent.category.DEFAULT" />
				<category android:name="android.intent.category.BROWSABLE" />
				<data android:scheme="https" android:host="go.rocket.chat" />
				<data android:scheme="rocketchat" android:host="room" />
				<data android:scheme="rocketchat" android:host="auth" />
			</intent-filter>
		</activity>
		<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
50
51
52
53
54
55
56
57
58
		<receiver
			android:name=".ReplyBroadcast"
			android:enabled="true"
			android:exported="false" />
		<receiver
			android:name=".DismissNotification"
			android:enabled="true"
			android:exported="false" >
		</receiver>
59
60
61
62
63
64
65
66
67
68
69
70
71
		<activity
				android:noHistory="true"
				android:name=".share.ShareActivity"
				android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
				android:label="@string/share_extension_name"
				android:screenOrientation="portrait"
				android:theme="@style/AppTheme" >
				<intent-filter>
					<action android:name="android.intent.action.SEND" />
					<category android:name="android.intent.category.DEFAULT" />
					<data android:mimeType="*/*" />
				</intent-filter>
		</activity>
72
73
74
		<meta-data
				android:name="com.bugsnag.android.API_KEY"
				android:value="${BugsnagAPIKey}" />
75
	</application>
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
76
77

</manifest>