-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathAndroidManifest.xml
93 lines (79 loc) · 3.73 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<application
android:name="com.emarsys.sample.SampleApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AppTheme"
android:windowSoftInputMode="adjustResize">
<meta-data
android:name="com.huawei.hms.client.channel.androidMarket"
android:value="false" />
<meta-data
android:name="push_kit_auto_init_enabled"
android:value="true" />
<activity
android:name="com.emarsys.sample.main.MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="demo-mobileengage.emarsys.net"
android:scheme="https" />
</intent-filter>
</activity>
<meta-data
android:name="com.emarsys.mobileengage.small_notification_icon"
android:resource="@drawable/mobile_engage_logo_icon" />
<!--If you have non-Emarsys related Push use cases,-->
<!--register your own service instead of EmarsysMessagingService.-->
<!--For a reference implementation, please take a look at com.emarsys.sample.CustomMessagingService-->
<!--<service android:name=".CustomMessagingService">-->
<!--<intent-filter>-->
<!--<action android:name="com.google.firebase.MESSAGING_EVENT" />-->
<!--</intent-filter>-->
<!--</service>-->
<meta-data
android:name="com.emarsys.mobileengage.notification_color"
android:resource="@color/colorPrimary" />
<service
android:name="com.emarsys.service.EmarsysFirebaseMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service
android:name="com.emarsys.service.EmarsysHuaweiMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.huawei.push.action.MESSAGING_EVENT" />
</intent-filter>
</service>
<provider
android:name="com.emarsys.provider.SharedHardwareIdentificationContentProvider"
android:authorities="${applicationId}"
android:enabled="true"
android:exported="true"
android:grantUriPermissions="true" />
</application>
<queries>
<package android:name="com.emarsys.emarsys_sdk_example" />
</queries>
</manifest>