Skip to content

Commit 098447e

Browse files
authored
feat(manifest): Adds location permissions to leanplum-location AndroidManifest.xml. (#156)
1 parent bc65d91 commit 098447e

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

AndroidSDKCore/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<uses-sdk android:minSdkVersion="14"/>
5-
<!-- Minimum permissions needed for SDK to work -->
5+
<!-- Minimum permissions needed for SDK to work. -->
66
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
77
<uses-permission android:name="android.permission.INTERNET"/>
88
</manifest>

AndroidSDKFcm/src/main/AndroidManifest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<uses-sdk android:minSdkVersion="14"/>
55
<application>
6-
<!-- Leanplum FCM Message Handling Service -->
6+
<!-- Leanplum FCM Message Handling Service. -->
77
<service
88
android:name="com.leanplum.LeanplumPushFirebaseMessagingService"
99
android:enabled="true"
@@ -13,12 +13,12 @@
1313
</intent-filter>
1414
</service>
1515

16-
<!-- Leanplum FCM Registration Job Service -->
16+
<!-- Leanplum FCM Registration Job Service. -->
1717
<service android:name="com.leanplum.LeanplumFcmRegistrationJobService"
1818
android:permission="android.permission.BIND_JOB_SERVICE"/>
1919

2020

21-
<!-- Leanplum FCM Instance ID Service -->
21+
<!-- Leanplum FCM Instance ID Service. -->
2222
<service
2323
android:name="com.leanplum.LeanplumPushFcmListenerService"
2424
android:enabled="true"
@@ -28,7 +28,7 @@
2828
</intent-filter>
2929
</service>
3030

31-
<!-- Leanplum Push Notification Receiver for FCM -->
31+
<!-- Leanplum Push Notification Receiver for FCM. -->
3232
<receiver
3333
android:name="com.leanplum.LeanplumPushReceiver"
3434
android:enabled="true"

AndroidSDKGcm/src/main/AndroidManifest.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<uses-sdk android:minSdkVersion="14"/>
5-
<!-- Permissions for GCM -->
5+
<!-- Permissions for GCM. -->
66
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
77
<permission
88
android:name="${applicationId}.permission.C2D_MESSAGE"
99
android:protectionLevel="signature"/>
1010
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE"/>
11+
1112
<application>
1213
<receiver
1314
android:name="com.google.android.gms.gcm.GcmReceiver"
@@ -22,7 +23,7 @@
2223
</intent-filter>
2324
</receiver>
2425

25-
<!-- Leanplum Push Notification Receiver for GCM -->
26+
<!-- Leanplum Push Notification Receiver for GCM. -->
2627
<receiver
2728
android:name="com.leanplum.LeanplumPushReceiver"
2829
android:enabled="true"
@@ -32,7 +33,7 @@
3233
</intent-filter>
3334
</receiver>
3435

35-
<!-- Leanplum GCM Message Handling Service -->
36+
<!-- Leanplum GCM Message Handling Service. -->
3637
<service
3738
android:name="com.leanplum.LeanplumPushListenerService"
3839
android:enabled="true"
@@ -42,12 +43,12 @@
4243
</intent-filter>
4344
</service>
4445

45-
<!-- Leanplum GCM Registration Job Service -->
46+
<!-- Leanplum GCM Registration Job Service. -->
4647
<service
4748
android:name="com.leanplum.LeanplumGcmRegistrationJobService"
4849
android:permission="android.permission.BIND_JOB_SERVICE"/>
4950

50-
<!-- Leanplum GCM Instance ID Service -->
51+
<!-- Leanplum GCM Instance ID Service. -->
5152
<service
5253
android:name="com.leanplum.LeanplumPushInstanceIDService"
5354
android:enabled="true"

AndroidSDKLocation/src/main/AndroidManifest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<uses-sdk android:minSdkVersion="14"/>
5+
<!-- Permissions for geofencing. -->
6+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
7+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
8+
59
<application>
610
<!-- Geofencing Service -->
711
<service android:name="com.leanplum.ReceiveTransitionsIntentService"/>

AndroidSDKPush/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
<uses-sdk android:minSdkVersion="14"/>
55
<application>
6-
<!-- Leanplum GCM/FCM Registration Service -->
6+
<!-- Leanplum GCM/FCM Registration Service. -->
77
<service android:name="com.leanplum.LeanplumPushRegistrationService"/>
8-
<!-- Leanplum Local Push Notification Service-->
8+
<!-- Leanplum Local Push Notification Service. -->
99
<service android:name="com.leanplum.LeanplumLocalPushListenerService"/>
1010
</application>
1111
</manifest>

0 commit comments

Comments
 (0)