AndroidManifest.xml 3.38 KB
Newer Older
Wietse Kuipers's avatar
Wietse Kuipers committed
1
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Wietse Kuipers's avatar
Wietse Kuipers committed
2
          package="com.thaliapp">
3
4
5
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.VIBRATE" />
Wietse Kuipers's avatar
Wietse Kuipers committed
6
7
8
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

    <application
9
10
11
12
            android:name=".MainApplication"
            android:allowBackup="true"
            android:label="@string/app_name"
            android:icon="@mipmap/ic_launcher"
13
            android:roundIcon="@mipmap/ic_launcher_round"
14
15
            android:theme="@style/AppTheme"
            android:launchMode="singleTop">
16
17
18
19
20
21
22
23
24
        <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>
25
26
27
28
29
30
31
            <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/" />
32
                <data android:pathPattern="/events/.*/" />
33
            </intent-filter>
34
35
        </activity>
        <activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
36

37
        <service android:name="io.invertase.firebase.messaging.RNFirebaseMessagingService">
38
            <intent-filter>
39
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
40
41
            </intent-filter>
        </service>
42
        <service android:name="io.invertase.firebase.messaging.RNFirebaseInstanceIdService">
43
44
45
46
            <intent-filter>
                <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
            </intent-filter>
        </service>
47
        <service android:name="io.invertase.firebase.messaging.RNFirebaseBackgroundMessagingService" />
48

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

        <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
71
72
73
    </application>

</manifest>