Forum Discussion
GamerRoman22
2 years agoExplorer
FAIL_FORBIDDEN_PERMISSION Developer Hub error READ_PHONE_STATE Error
I have no other errors besides this one when I upload my build to the alpha production stage. The error says this: FAIL_FORBIDDEN_PERMISSION The upload could not be completed because your application...
- 2 years ago
Yes, there seems to be a change on Unity 2022.3.xx in one of the latest lts version that seems to add that permision.
To fix it you can modify for AndroidManifest in your project (search for it) and at the bottom, just before the </manifest> tag, add the following line:
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />you will need to add the tools at the top of the manifest... like this:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" xmlns:tools="http://schemas.android.com/tools">with that change it will remove that permision at build time.
Digibix
2 years agoMember
Yes, there seems to be a change on Unity 2022.3.xx in one of the latest lts version that seems to add that permision.
To fix it you can modify for AndroidManifest in your project (search for it) and at the bottom, just before the </manifest> tag, add the following line:
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
you will need to add the tools at the top of the manifest... like this:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto"
xmlns:tools="http://schemas.android.com/tools">
with that change it will remove that permision at build time.
Procat
2 years agoHonored Guest
help?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 8 months ago
- 3 years ago