- Home /
Can I alter the AndroidManifest file with Cloud Build?
I have a project that runs on a few different Android platforms (Oculus Go, Daydream, and others). When I build for these locally, Plugins/Android/AndroidManifest.xml is different in all cases (and in some case may not exist at all as an asset). I manage this by maintaining git branches for each case, keeping them all synced with a common main branch. Essentially ,the diff for any of these branches contains only changes to the manifest file and player settings.
I am new to Unity Cloud Build, and I have learned that several settings can be altered for each build config, which sounds great. But what about changing the content of a special file like the AndroidManifest? I know I can point each build config to a different git branch, and keep doing it the same way. I want to eliminate the need for separate branches entirely, and I think I have a clear enough idea of how to do so for everything except the manifest. Suggestions?
Your answer
Follow this Question
Related Questions
Android build crashes on start up. 2 Answers
How to increase number of supported devices when publishing to the google play store 0 Answers
CommandInvokationFailure: Gradle build failed. unity 2019.4.22 1 Answer
com.android.tools.r8 compilation error please help 0 Answers
multiple apks to match certain devices 0 Answers