04-30-2021 11:25 PM
05-28-2021 03:05 PM
I am trying to only remove the ACCESS_MEDIA_LOCATION permission. I tried the removePermission element, but I got the following warning when I packaged the project and the upload still says the permission is there.
Packaging (Android (ASTC)): Missing attribute 'name' in 'removePermission p0:name="android.permission.ACCESS_MEDIA_LOCATION"' (skipping instruction)
I found another way using the tools:node element, described below, but when I attempted to upload the project, the WRITE_EXTERNAL_STORAGE permission was gone, but the ACCESS_MEDIA_LOCATION was still there.
Project > Build > Android > ManifestRequirementsOverride.txt
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" tools:node="remove"/>
Project Settings > Extra Tags for Manifest Node
xmlns:tools="http://schemas.android.com/tools"
StackOverflow | How to Remove Specific Permission When Build Android App with Gradle
06-01-2021 01:06 AM - edited 06-01-2021 01:07 AM
Our app suffers the same fate. The ACCESS_MEDIA_LOCATION is nowhere to be found within both, the UE and our codebases. Even a fulltext search couldn't find any in the build files. Its not present in the Manifests and I ran out of ideas where it could possibly come from yesterday.
Any attempt to remove the permission with conventional weapons has proven to be unsuccessfull. Sadly both of the methods described in this post did not work. The rest of the permissions can be easly switched on and off at will.
I give up. I'll describe the struggle to the reviewer and hope for the best during the review process.
06-01-2021 01:35 AM
Ok guys, I gave it a one last go before the submission and its possible that the ovr-platform-util.exe contains a bug. If I analyze my apk using the android sdk tools there is no sign of the dreaded ACCESS_MEDIA_LOCATION permission.
We might have to file a bug report for this behavior.
06-01-2021 07:53 AM
I have only one warning for the dated OpenSSL lib. Did you "uncheck" RECORD_AUDIO in the project settings? Check @VintageGreen 's screenshot for the androd tab settings.
06-01-2021 08:23 AM
No, we need the RECORD_AUDIO permission for voice chat. But ACCESS_MEDIA_LOCATION is the problem. We really don't need it as it "Alows an application to access any geographic locations persisted in the user's shared collection".
06-03-2021 07:09 AM
I ignored the permission error and left a note in the apps submission and they approved the build. The permission still appears on the app in the oculus dashboard along with a bunch of other permissions.
android.permission.INTERNET
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_EXTERNAL_STORAGE
android.permission.READ_MEDIA_AUDIO
android.permission.READ_MEDIA_VIDEO
android.permission.READ_MEDIA_IMAGES
android.permission.ACCESS_MEDIA_LOCATION
android.permission.ACCESS_NETWORK_STATE
android.permission.WAKE_LOCK
com.android.vending.CHECK_LICENSE
android.permission.ACCESS_WIFI_STATE
com.google.android.c2dm.permission.RECEIVE
06-03-2021 07:13 AM
We ended up doing the same thing.
06-14-2021 10:27 PM
How can i ignore this error when uploading? These errors are stopping me to upload the build, even just to test it internally. Any clues? Thanks
06-29-2021 11:38 PM
We have the same problem and we cannot remove the permissions because we need to access files for our game saving functionality. It would be fine to explain that in the "Notes for the reviewer field" (as suggested in the error message), but
a) where do I find that field
b) I thought that App Lab has less restrictions than the normal store - does this not apply for the platform utility?
10-07-2021 04:25 AM
Hi @Anonymous ! Could you please tell what type of note did you leave with the submission? That would be very helpful, thank you in advance!