Skip to content

Commit 93f6e55

Browse files
committed
Fixed issue where Unity 5.6.X would add READ_PHONE_STATE
* This was due to a missing minSdkVersion entry in AndroidManifest.xml. - Unity was adding this legacy permission due to defaulting to a lower version.
1 parent dcf2295 commit 93f6e55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Unity5OneSignalExample/Assets/Plugins/Android/OneSignalConfig/AndroidManifestTemplate.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!--
1+
<!--
22
WARNING: Do NOT Modify! Changes will be overwritten by the OneSignal plugin.
33
Make your changes to Assets/Plugins/Android/AndroidManifest.xml instead.
44
-->
@@ -8,6 +8,8 @@
88
android:versionCode="1"
99
android:versionName="1.0" >
1010

11+
<uses-sdk android:minSdkVersion="9" />
12+
1113
<permission android:name="${manifestApplicationId}.permission.C2D_MESSAGE" android:protectionLevel="signature" />
1214
<uses-permission android:name="${manifestApplicationId}.permission.C2D_MESSAGE" />
1315
<application>

0 commit comments

Comments
 (0)