prabusharan commented on issue #1559:
URL: 
https://github.com/apache/cordova-android/issues/1559#issuecomment-1486291535

   > @breautek This worked! I wanted to unit test a bit before I confirmed with 
you. As you suspected, the theme was the issue. When I got the error stating 
that I needed a theme that is a descendent of `Theme.AppCompat`, I set 
`android:theme=@style/Theme.AppCompat.NoActionBar`. This got rid of the build 
error, and when I tested on API level 31 and above it worked properly. I 
assumed it must be something else causing the older API levels to not work.
   > 
   > The correct value for 'android:theme' in my case specifically is 
'@style/Theme.App.SplashScreen'. Setting `AndroidPostSplashScreenTheme` in 
config.xml was not necessary in my case like you said since that is already the 
default. I also tested with the `AndroidWindowSplashScreenAnimatedIcon` line 
removed in the config file, and the app just defaulted to the cordova icon, 
didn't crash and continued to work.
   > 
   > Thanks again for helping out with this bug.
   
   This method not working. Issue happens only in the ionic cordova project


-- 
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