AndroidManifest.xml 3.7 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" />
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
7
8
9
10

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

    <application
13
14
15
16
            android:name=".MainApplication"
            android:allowBackup="true"
            android:label="@string/app_name"
            android:icon="@mipmap/ic_launcher"
17
            android:roundIcon="@mipmap/ic_launcher_round"
18
            android:theme="@style/AppTheme"
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
19
20
            android:launchMode="singleTop"
            android:usesCleartextTraffic="true">
21
22
23
24
25
26
27
28
29
        <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>
30
31
32
33
34
35
36
            <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/" />
37
                <data android:pathPattern="/events/.*/" />
38
            </intent-filter>
39
40
        </activity>
        <activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
41

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

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

        <provider
                android:name="android.support.v4.content.FileProvider"
                android:authorities="${applicationId}.provider"
                android:grantUriPermissions="true"
                android:exported="false">
            <meta-data
                    android:name="android.support.FILE_PROVIDER_PATHS"
                    android:resource="@xml/filepaths" />
        </provider>
Wietse Kuipers's avatar
Wietse Kuipers committed
76
77
78
    </application>

</manifest>