cordova-splash icon indicating copy to clipboard operation
cordova-splash copied to clipboard

Pbm with cordova 7.1 ?

Open JPfeP opened this issue 7 years ago • 3 comments

Hi,

Both cordova-icon and cordova-splash are working fine but the android application still shows the default cordova icon/splash.

It seems that cordova-splash outputs in "platforms/android/app/src/main/res/" while the project still uses "platforms/android/res/".

Tried to remove/add the android platform without much success. And linking to the good dir yielded a complain about missing config.xml file

My versions: Node version: v9.2.1 Cordova version: 7.1.0

JPfeP avatar Feb 19 '18 16:02 JPfeP

I ended up using the res/screen/ instead and it works.

For example, here is my android splash screens under android platform

   <splash density="land-hdpi" src="res/screen/android/drawable-land-hdpi/screen.png" />

    <splash density="land-ldpi" src="res/screen/android/drawable-land-ldpi/screen.png" />

    <splash density="land-mdpi" src="res/screen/android/drawable-land-mdpi/screen.png" />

    <splash density="land-xhdpi" src="res/screen/android/drawable-land-xhdpi/screen.png" />

    <splash density="land-xxhdpi" src="res/screen/android/drawable-land-xxhdpi/screen.png" />

    <splash density="land-xxxhdpi" src="res/screen/android/drawable-land-xxxhdpi/screen.png" />

    <splash density="port-hdpi" src="res/screen/android/drawable-port-hdpi/screen.png" />

    <splash density="port-ldpi" src="res/screen/android/drawable-port-ldpi/screen.png" />

    <splash density="port-mdpi" src="res/screen/android/drawable-port-mdpi/screen.png" />

    <splash density="port-xhdpi" src="res/screen/android/drawable-port-xhdpi/screen.png" />

    <splash density="port-xxhdpi" src="res/screen/android/drawable-port-xxhdpi/screen.png" />

    <splash density="port-xxxhdpi" src="res/screen/android/drawable-port-xxxhdpi/screen.png" />

rsadwick avatar Jun 01 '18 19:06 rsadwick

Hi,

Same issue here. Furthermore, since we use Continuous Integration, we are unable to fix the manifest by hand. @AlexDisler are you still maintaining the project ?

ViaFabula avatar Jun 23 '18 07:06 ViaFabula

Hi all,

I submitted a pull request for this issue to @AlexDisler You can use my fork (https://github.com/ViaFabula/cordova-splash) will this issue is opened

ViaFabula avatar Jan 01 '19 13:01 ViaFabula