AndroidManifest.xml 2.49 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
6
7

	<uses-permission android:name="android.permission.INTERNET" />
	<uses-permission android:name="android.permission.CAMERA" />
	<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" />
11
	<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
12
13
14
15
16
17
18
19
	<uses-permission-sdk-23 android:name="android.permission.VIBRATE"/>

	<application
		android:name=".MainApplication"
		android:allowBackup="true"
		android:label="@string/app_name"
		android:icon="@mipmap/ic_launcher"
		android:theme="@style/AppTheme"
Diego Mello's avatar
Diego Mello committed
20
	>
21
22
23
24
		<activity
			android:name=".MainActivity"
			android:label="@string/app_name"
			android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
Diego Mello's avatar
Diego Mello committed
25
			android:launchMode="singleTask"
26
27
28
29
			android:windowSoftInputMode="adjustResize">
			<intent-filter>
				<action android:name="android.intent.action.MAIN" />
				<category android:name="android.intent.category.LAUNCHER" />
30
				<action android:name="android.intent.action.DOWNLOAD_COMPLETE"/>
31
			</intent-filter>
32
			<intent-filter android:label="@string/app_name">
33
34
35
36
37
38
39
40
41
				<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" />
42
43
44
45
46
47
48
49
50
51
52
53
54
		<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>
55
56
57
		<meta-data
				android:name="com.bugsnag.android.API_KEY"
				android:value="${BugsnagAPIKey}" />
58
	</application>
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
59
60

</manifest>