Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Pbm with cordova 7.1 ? #52

Open
JPfeP opened this issue Feb 19, 2018 · 3 comments
Open

Pbm with cordova 7.1 ? #52

JPfeP opened this issue Feb 19, 2018 · 3 comments

Comments

@JPfeP
Copy link

JPfeP commented Feb 19, 2018

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

@rsadwick
Copy link

rsadwick commented Jun 1, 2018

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

@ViaFabula
Copy link

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants