Hello,
I’m sorry if this isn’t in the correct section. Couldn’t find an Android topic.
I’m working on an app and Unity or something else keeps adding in Permissions to the manifest that aren’t there before building. The permission that is causing the issue is android.permission.READ_PHONE_STATE.
I’ve checked Android Studio and the permission is there. This is the manifest I have before the build.
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:installLocation="auto">
<application android:label="@string/app_name" android:icon="@mipmap/app_icon" android:allowBackup="false">
<activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:launchMode="singleTask" android:name="com.unity3d.player.UnityPlayerActivity" android:excludeFromRecents="true" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="com.oculus.intent.category.VR" />
</intent-filter>
<meta-data android:name="com.oculus.vr.focusaware" android:value="true" />
</activity>
<meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="false" />
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only" />
<meta-data android:name="com.oculus.ossplash.background" android:value="black" />
<meta-data android:name="com.oculus.telemetry.project_guid" android:value="d1e26e17-a7a3-4487-b8d3-9945b1a2d10a" />
<meta-data android:name="com.oculus.supportedDevices" android:value="quest2|questpro|eureka" />
</application>
<uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" />
</manifest>
I must be missing something obvious here but I can’t see it.
Thank you for any help.