Android permissions requested only from cloud build
I found a strange behaviour with Android runtime permissions and Cloud Build. I have been developing my game for about 6 months now, and it never asked for any permissions. A couple of days ago I installed the latest build from Cloud Build and it asked for two permissions on startup: external storage and phone. I know how runtime permissions work on android, and after looking around in the forums I pretty much found why Unity is asking for these two, it was just strange that it never asked for these permissions in the last half year. To make it even stranger no permissions are asked if I build the game from the Editor. I thought that it might be that the Cloud build is using other Unity version, or android target api level than the editor, but even after setting those up (specifiing the android api level instead of using the newest available, and explicitly stating the Unity version in could build config) the permissions are only asked when using apk build in cloud build. Does anyone have any idea what can be going on?
Answer by damelin2 · Aug 29, 2017 at 07:05 PM
This seems to fix the issue:
This looks like the source indeed, however for me re-importing the Firebase SD$$anonymous$$ solved the problem
Answer by jose_caetano_neto · Aug 28, 2017 at 09:23 PM
I have the same problem. With the same symptoms.
In my last compilation, started to request the permissions that did not require before.
Answer by Don_K · Aug 29, 2017 at 12:49 AM
i same too.
https://forum.unity3d.com/threads/sudden-error-unable-to-merge-android-manifests.490096/
Similar threads are reported in this thread.
This does not happen if you use Unity 5.6.3p1 and build it locally using Android SDK 25. Moreover, it is thought that it did not occur even in the development build.
I want to know the cause, but I don't know.
Your answer
Follow this Question
Related Questions
Object is not displayed in actual machine test on Android 1 Answer
I make Sniper FPS game and Android build it but it slow how i fix it 1 Answer
Found plugins with same names and architectures, () and (). 0 Answers
I am having trouble building the project for android 0 Answers
"com.google.common.base.verifyexception" Can't build my android game 0 Answers