breautek commented on issue #1290:
URL: https://github.com/apache/cordova-docs/issues/1290#issuecomment-1698197466

   > The workaround I found (so far) is to edit **AndroidManifest.xml** and 
replace:`android:theme="@style/Theme.AppCompat.NoActionBar"` with: 
`android:theme="@style/Theme.App.SplashScreen"`
   > 
   > **However, everytime the app is built, this change is reverted**.
   > 
   > Any ideas on how to workaround this issue? This constant double-building 
is really tiresome and inconvenient.
   
   You'll have to find what is actually manipulating the theme. Assuming that 
your project doesn't have a `edit-config` rule that makes this modification in 
your `config.xml`, then there is likely a plugin that is responsible. You can 
probably do a "find in folder" search on your `plugins/` folder to see which 
`plugin.xml` has `Theme.AppCompat.NoActionBar` keyword.
   
   Once you pinpoint the plugin that is overwriting that change, then you'll 
have to ask the maintainers of the plugin to solve the problem, or fork the 
plugin and make the change required.
   
   `@style/Theme.App.SplashScreen` is the value that Cordova itself uses and, 
and the theme is defined in `themes.xml`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to