-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
76 lines (64 loc) · 3.46 KB
/
AndroidManifest.xml
File metadata and controls
76 lines (64 loc) · 3.46 KB
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
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:name="SampleApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.KlaviyoAndroidSdk"
android:usesCleartextTraffic="true"
>
<activity
android:name=".SampleActivity"
android:exported="true"
android:theme="@style/Theme.KlaviyoAndroidSdk">
<!-- Launch intent -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<!-- Sample Deep Linking Intent Filters -->
<!-- Custom URI scheme: -->
<intent-filter android:label="@string/deep_link_handler">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<!-- Accepts URIs that begin with "klaviyotest://" -->
<data android:scheme="klaviyotest" />
</intent-filter>
<!-- Verified App Link: -->
<intent-filter android:label="Your App Name" 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:scheme="http" />
<data android:scheme="https" />
<data android:host="your.domain.com" />
</intent-filter>
<!-- Klaviyo Universal Click Tracking: -->
<intent-filter android:label="Your App Name" 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:scheme="https" />
<data android:host="trk.your.domain.com" />
<!-- SETUP NOTE: path prefix for Klaviyo Universal Click Tracking should be /u/ or else unsupported tracking links may be routed to your app -->
<data android:pathPrefix="/u/" />
</intent-filter>
</activity>
<!-- Optional: Set the Klaviyo SDK logging level (1=verbose, 2=debug etc) -->
<meta-data
android:name="com.klaviyo.core.log_level"
android:value="1"/>
<!-- Optional: Specify the default icon for a notification received from Klaviyo -->
<meta-data android:name="com.klaviyo.push.default_notification_icon"
android:resource="@drawable/ic_notification_icon"/>
<!-- Optional: Specify the icon color for a notification received from Klaviyo -->
<meta-data android:name="com.klaviyo.push.default_notification_color"
android:resource="@color/teal_700"/>
<!-- Sample App Only: Google Maps API Key (for GoogleMaps UI testing) -->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="${googleMapsApiKey}" />
</application>
</manifest>