Graeme Mawson created CB-12077:
----------------------------------
Summary: Custom app icons and splash screens not working in cordova-android v6.0.0
Key: CB-12077
URL: https://issues.apache.org/jira/browse/CB-12077
Project: Apache Cordova
Issue Type: Bug
Environment: cordova v6.4.0, cordova-android v6.0.0, cordova-plugin-splashscreen@4.0.0
Reporter: Graeme Mawson
Priority: Critical
With the latest cordova-android v6.0.0 release, which is pinned to cordova v6.4.0, custom
app icons and splash screens no longer work.
It appears as though the custom app icons and splash screens are copied into the ./res folder
and not into the ./platforms/android/res folder.
Others have mentioned the same bug - please refer to the comments at the bottom of your blog
post announcement of the cordova-android v6.0.0 release (http://cordova.apache.org/announcements/2016/10/24/android-release.html).
My config.xml file refers to the app icons & splash screens as follows:
<platform name="android">
<allow-intent href="market:*" />
<icon src="icon/android/icon-ldpi.png" density="ldpi"/>
<icon src="icon/android/icon-mdpi.png" density="mdpi"/>
<icon src="icon/android/icon-hdpi.png" density="hdpi"/>
<icon src="icon/android/icon-xhdpi.png" density="xhdpi"/>
<icon src="icon/android/icon-xxhdpi.png" density="xxhdpi"/>
<icon src="icon/android/icon-xxxhdpi.png" density="xxxhdpi"/>
<splash src="screen/android/splash-land-ldpi.9.png" density="land-ldpi"/>
<splash src="screen/android/splash-land-mdpi.9.png" density="land-mdpi"/>
<splash src="screen/android/splash-land-hdpi.9.png" density="land-hdpi"/>
<splash src="screen/android/splash-land-xhdpi.9.png" density="land-xhdpi"/>
<splash src="screen/android/splash-land-xxhdpi.9.png" density="land-xxhdpi"/>
<splash src="screen/android/splash-land-xxxhdpi.9.png" density="land-xxxhdpi"/>
<splash src="screen/android/splash-port-hdpi.9.png" density="port-hdpi"/>
<splash src="screen/android/splash-port-ldpi.9.png" density="port-ldpi"/>
<splash src="screen/android/splash-port-mdpi.9.png" density="port-mdpi"/>
<splash src="screen/android/splash-port-xhdpi.9.png" density="port-xhdpi"/>
<splash src="screen/android/splash-port-xxhdpi.9.png" density="port-xxhdpi"/>
<splash src="screen/android/splash-port-xxxhdpi.9.png" density="port-xxxhdpi"/>
</platform>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
|