cancel
Showing results for 
Search instead for 
Did you mean: 

Quest releasing problem (android manifest)

toxyne
Explorer
Hello guys. I need advice, please, about editing the android manifest to upload to Oculus Store. Please see the screenshot. Can't get how and where to solve it. App made in UE 4.23.1. Thanks.
 Screenshot_6.png
25 REPLIES 25

Anonymous
Not applicable

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 

SynthCat
Honored Guest

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.

SynthCat
Honored Guest

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.


cmd_sNtNj0F88Q.png

 

 

 

 

 

 

 

 

We might have to file a bug report for this behavior.

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.

SynthCat
Honored Guest

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".

Anonymous
Not applicable

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

SynthCat
Honored Guest

We ended up doing the same thing.

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

Weltenmacher
Explorer

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?

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!