-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overwrite Themes.xml of Android 12 During platform adding #257
Comments
The issue is the plugin.xml line -
This replaces the themes.xml with the plugin one, if the plugin is removed then the themes.xml file is removed ... If you change this to -
then the style is merged into the themes.xml |
Don't you mean plugin.xml ? |
Yes you are absolutely right, the plugin.xml ... thank you for pointing that out. |
I removed that line but it doesn't open the gallery and is giving an error Then the gallery doesn't open... |
Android it's required with themes.xml as below:
<style name="Theme.App.SplashScreen" parent="Theme.SplashScreen.IconBackground"> @color/cdv_splashscreen_background @drawable/ic_cdv_splashscreen 200 @style/Theme.AppCompat.NoActionBar </style> but during platform adding it's over write: <style name="MyTheme" parent="android:Theme.Holo.Light"> </style>Cordova-android it's throws the errors
Cannot read properties of null (reading 'find')
TypeError: Cannot read properties of null (reading 'find')
node_modules\cordova-android\lib\prepare.js:387:49
at Array.forEach ().
so, How can we fix it? i hope you share it. thank you
The text was updated successfully, but these errors were encountered: