![unity cloud build delete project unity cloud build delete project](https://www.altitude365.com/wp-content/uploads/2019/03/configureagent-768x151.png)
This usually is a very welcome behavior, and it avoids us a lot of nuisances (like calling directly the Android.Permissions methods) in all the most common cases. So, if you are calling any method of the class “Microphone”, for instance, Unity understands that you want to use the microphone in your app, and automatically adds the RECORD_AUDIO permission to the manifest.
![unity cloud build delete project unity cloud build delete project](https://di4564baj7skl.cloudfront.net/documentation/images/unity/Unity_VR_PlayerSettings.png)
If Unity detects that you are using certain classes, it adds automatically the required permissions to make your application work. It gets merged with another Manifest created automatically by Unity, in which Unity puts what is necessary to make your app function correctly.Īnd among these features added by Unity, there is one that regards the permissions. I remembered that actually, even if you put your own custom AndroidManifest.xml file in Unity, it doesn’t become the final Manifest of the application. Unity and its automatically added permissionsĪ light bulb lit in my mind. So, where is this request? And who has added it? I so looked inside my Unity Project, but in the Manifest.xml file in Assets\Plugins\Android I found no references to permissions or similar things. Uh-oh, those permissions are actually asked by my cube!
![unity cloud build delete project unity cloud build delete project](https://www.codeproject.com/KB/aspnet/1100000/UnityPackage-r-700.png)
I got as an answer that actually my application was asking the permission to use Bluetooth, Microphone, and Internet. Running the command "C:\Users\anton\AppData\Local\Android\Sdk\build-tools\30.0.2\aapt.exe" d permissions TheUnit圜ube.apk
UNITY CLOUD BUILD DELETE PROJECT ANDROID
On my PC, where I left the default location of the Android SDK chosen by Android Studio, it is in: “C:\Users\anton\AppData\Local\Android\Sdk\build-tools\30.0.2\aapt.exe”, in yours, you can look in “C:\Users\\AppData\Local\Android\Sdk\build-tools\\aapt.exe”. Aapt can be found in the “build-tools” subfolder of your Android SDK folder. So I opened the command line (yes, I’m a nerd, and in all the movies, nerds use only the command line, and I can’t disappoint my fans), and used the tool “aapt” to verify the permissions asked by my application. The first thing I did, was verifying that I was actually asking for that permission. There is only a problem: I never requested that permission, I am sure about it… is it really there? Is there an audio permission request in my app? It is asking me to remove the permission if I don’t need it. And since Facebook cares about the privacy of its users, Since the Microphone is something that could be used to violate the privacy of the user, it is suspicious that I’m asking for it, if I don’t need it. Long story short: I’m asking permission to use the Microphone, but my app doesn’t need to use a Microphone (it is just a damn cube!). If your app requires microphone permissions, please explain in detail why your app needs the permission in order to function. There is not an obvious way to access streaming functionality within the application. Please be more specific with why users need to grant microphone permissions to this application. If your app requires any of the permissions listed above please explain in detail why your app needs the permission in order to function. Your app is asking for the following excessive or inappropriate user permissions: Please remove all unnecessary permissions. The app must request the minimum number of permissions required to function. While the first problem was easily solvable with a photoshoot of a cube, the second one looked more serious and trickier to solve: Second rejection reason: “The app asks inappropriate user permissions” Yes, I felt stupid while making these pictures.
UNITY CLOUD BUILD DELETE PROJECT FULL
All because someone from Facebook has not any kind of sense of humor… A full photoshoot of a cube in front of a skybox.
![unity cloud build delete project unity cloud build delete project](https://dreamakery.com/wp-content/uploads/2021/05/2021-05-21_22-22-08.png)
So I spent 5 minutes of my life framing a Cube from different positions and angles and making shapes with my hands in front of it. It seems that now, Facebook wants 5 different screenshots of a cube. Well, it is just a Unity cube… what kind of explicative screenshots do you want? Isn’t one with a cube just enough? The reviewer has complained that “Screenshots may not be repeated”. First rejection reason: “Screenshots may not be repeated”īefore digging into the real topic of the day, let me tell you what has been the other reason why The Unity Cube has been rejected.