- Home /
Android Post build to set android:launchMode="standard"
I'm using the Fyber SDK for Ad mediation in my game.
There's an additional integration step that requires me to edit the Android manifest file post build, which I want to automate.
Here are the instructions: http://developer.fyber.com/content/current/unity/integration/building-your-app/
Look under "Additional step: setting the correct attributes in your launching activity" on that page (title is small and hard to read).
It asks me to build an Android project and then open the project to set the following launching activity attributes:
android:clearTaskOnLaunch="false"
android:launchMode="standard"
I could do this manually, but I would like to use Unity Cloud build and would need it to be automated for that.
The documentation says that Unity sets these attributes to default values. Is there a way to override this? As a post build process? Bat file?
As Unity forces default values that cause this unwanted behavior, you need to explicitly set these values in order to overcome the issue by following these steps:
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Jenkins android build launcher:mergeReleaseResources FAILED 0 Answers
READ_PHONE_STATE still an issue in 5.3.4f1? 0 Answers