AndroidManifest.xml 3.27 KB
Newer Older
Wietse Kuipers's avatar
Wietse Kuipers committed
1
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
2
3
          package="com.thaliapp"
          xmlns:tools="http://schemas.android.com/tools">
4
5
6
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.VIBRATE" />
7
8
9
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
10
11

    <uses-permission tools:node="remove" android:name="android.permission.READ_PHONE_STATE" />
Wietse Kuipers's avatar
Wietse Kuipers committed
12
13

    <application
14
            android:name=".MainApplication"
15
            android:allowBackup="false"
16
17
            android:label="@string/app_name"
            android:icon="@mipmap/ic_launcher"
18
            android:roundIcon="@mipmap/ic_launcher_round"
19
            android:theme="@style/AppTheme"
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
20
21
            android:launchMode="singleTop"
            android:usesCleartextTraffic="true">
22
23
24
25
26
27
28
29
30
        <activity
                android:name=".MainActivity"
                android:label="@string/app_name"
                android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
                android:windowSoftInputMode="adjustResize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
31
32
33
34
35
36
37
            <intent-filter android:label="@string/app_name">
                <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" />
                <data android:host="thalia.nu" />
                <data android:path="/pizzas/" />
38
                <data android:pathPattern="/events/.*/" />
39
                <data android:pathPattern="/photos/.*/" />
40
            </intent-filter>
41
42
        </activity>
        <activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
43

44
        <service android:name="io.invertase.firebase.messaging.RNFirebaseMessagingService">
45
            <intent-filter>
46
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
47
48
            </intent-filter>
        </service>
49
        <service android:name="io.invertase.firebase.messaging.RNFirebaseInstanceIdService">
50
51
52
53
54
            <intent-filter>
                <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
            </intent-filter>
        </service>

55
56
57
        <meta-data
            android:name="com.google.firebase.messaging.default_notification_color"
            android:resource="@color/magenta" />
58
59
        <meta-data
                android:name="com.google.firebase.messaging.default_notification_icon"
60
                android:resource="@drawable/ic_notification" />
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
61
62
63
        <meta-data
                android:name="com.google.firebase.messaging.default_notification_channel_id"
                android:value="default_channel"/>
64
65
66
        <meta-data
                android:name="android.max_aspect"
                android:value="2.1" />
Wietse Kuipers's avatar
Wietse Kuipers committed
67
68
    </application>
</manifest>