The flag “Preserve framebuffer alpha” overwrites the android theme even if I specify it explicitly in the AndroidManifest.xml file.
Is there a way to force my own android theme even if I use the “Preserve framebuffer alpha”?
The flag “Preserve framebuffer alpha” overwrites the android theme even if I specify it explicitly in the AndroidManifest.xml file.
Is there a way to force my own android theme even if I use the “Preserve framebuffer alpha”?
Theme overriding may make the “Preserve framebuffer alpha” to work incorrectly, this is why Unity are forcing it.
You can use this API: Unity - Scripting API: Android.IPostGenerateGradleAndroidProject.OnPostGenerateGradleAndroidProject to change it if you really want to force it to your own.
Here are some code example: GitHub - Over17/UnityAndroidManifestCallback: Apply your changes to Android Manifest in Unity 2018.1+ without having to override the main manifest of the whole project