Phonegap Build 2.0 Icon + Splash screen issue

  • 9
  • Problem
  • Updated 6 years ago
  • Solved
just tested Phonegap Build 2.0 and the following issues popped up:

iOS: icon + splash screen not working (shows default phonegap icon + splash screen)

Android: icon not working (shows default phonegap icon)

going back to Phonegap 1.7 ! solves this issues...

any other ideas or work arounds?
Photo of Edwin Rikkers

Edwin Rikkers

  • 6 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 9
Photo of Per Vedin

Per Vedin

  • 4 Posts
  • 0 Reply Likes
It works on my Samsung Galaxy Tab 10.1 and on my Sony Ericsson Experia mini
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
Sorry for the delay guys - I'll be looking at the Android stuff today.
Photo of Steven Fernandez

Steven Fernandez

  • 60 Posts
  • 2 Reply Likes
Thanks very much :)
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
It looks like the Android 2.0 icon issue was related to support for XHDPI screens, which I've added a first pass at. Please rebuild if you're still having an issue and let me know what you find.
Photo of Steven Fernandez

Steven Fernandez

  • 60 Posts
  • 2 Reply Likes
Yessss!! Just tested a re-build on my Galaxy S3 and it's worked great!.

Thanks very much for sorting it out :)
Photo of Oscar Abilleira Muñiz

Oscar Abilleira Muñiz

  • 157 Posts
  • 5 Reply Likes
Great... solved too, after re-build icon apears on my app in a HTC one X

Great job :)
Photo of David Preseault

David Preseault

  • 9 Posts
  • 0 Reply Likes
Andrew Lunny, my app shows its icon for iPad and iPhone but not for android.

https://build.phonegap.com/apps/137071
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
Hey David,

Sorry for the late response. I took a look at your application and I found the following:

The config.xml specifies:

<gap:splash src="resources/build/splash/android/ldpi.png" gap:platform="android" gap:density="ldpi" />
<gap:splash src="resources/build/splash/android/mdpi.png" gap:platform="android" gap:density="mdpi" />
<gap:splash src="resources/build/splash/android/hdpi.png" gap:platform="android" gap:density="hdpi" />


However when inspecting the uploaded zip file I was not able to find any of those files in the directory structure.

Could you please verify the uploaded file.

Thanks,

Hardeep Shoker
Photo of Justin Leggett

Justin Leggett

  • 5 Posts
  • 0 Reply Likes
I am still showing the cordova splash screen. I have updated my build to phonegap 2.0 and have updated the config.xml file to the following:

<icon src="res/icon/cordova_512.png" width="512" height="512" />
<icon src="res/icon/cordova_android_96.png" width="96" height="96" gap:platform="android" />
<icon src="res/icon/cordova_bb_80.png" width="80" height="80" gap:platform="blackberry" />
<icon src="res/icon/cordova_ios_144.png" width="144" height="144" gap:platform="ios" />

<gap:splash src="res/screen/android_hdpi_landscape.png" width="800" height="480" gap:platform="android" />
<gap:splash src="res/screen/android_hdpi_portrait.png" width="480" height="800" gap:platform="android" />
<gap:splash src="res/screen/android_ldpi_landscape.png" width="320" height="200" gap:platform="android" />
<gap:splash src="res/screen/android_ldpi_portrait.png" width="200" height="320" gap:platform="android" />
<gap:splash src="res/screen/android_mdpi_landscape.png" width="480" height="320" gap:platform="android" />
<gap:splash src="res/screen/android_mdpi_portrait.png" width="320" height="480" gap:platform="android" />
<gap:splash src="res/screen/android_xhdpi_landscape.png" width="1280" height="720" gap:platform="android" />
<gap:splash src="res/screen/android_xhdpi_portrait.png" width="720" height="1280" gap:platform="android" />
<gap:splash src="res/screen/blackberry_transparent_300.png" width="300" height="300" gap:platform="blackberry" />
<gap:splash src="res/screen/blackberry_transparent_400.png" width="200" height="200" gap:platform="blackberry" />
<gap:splash src="res/screen/ipad_landscape.png" width="1024" height="748" gap:platform="ios" />
<gap:splash src="res/screen/ipad_portrait.png" width="768" height="1004" gap:platform="ios" />
<gap:splash src="res/screen/ipad_retina_landscape.png" width="2048" height="1496" gap:platform="ios" />
<gap:splash src="res/screen/ipad_retina_portrait.png" width="1536" height="2008" gap:platform="ios" />
<gap:splash src="res/screen/iphone_landscape.png" width="480" height="320" gap:platform="ios" />
<gap:splash src="res/screen/iphone_portrait.png" width="320" height="480" gap:platform="ios" />
<gap:splash src="res/screen/iphone_retina_landscape.png" width="960" height="640" gap:platform="ios" />
<gap:splash src="res/screen/iphone_retina_portrait.png" width="640" height="960" gap:platform="ios" />
<gap:splash src="res/screen/windows_phone_portrait.jpg" width="480" height="800" gap:platform="winphone" />

The default icon works fine, but the splash screen is my only issue left before release to figure out. I even went into the /img/ folder and added a new image in replace of the cordova.png file.

Any suggestions? I have also tried a rebuild and that did not work either.
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
Hey Justin,

To save you the time debugging this we have a template you can follow:

https://github.com/phonegap/phonegap-...

It provides all of our configuration options.

Hardeep Shoker
Photo of Justin Leggett

Justin Leggett

  • 5 Posts
  • 0 Reply Likes
Hardeep, I just updated my project and I'm still getting the same issue after updating the config.xml file. I have also done a rebuild as well. Any other suggestions? I don't know if this will help or not, but the app id is 194586. This is my last hang up before release and would like to try to get this fixed if possible or at least hide the splash screen if that is easier?
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
Hey Justin,

Sorry for the late response I was away on PTO. Here is what I found.

You application is failing because of your keystore it seems.

*Alias* must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.

Let me know if that provides any insight into your issue.

Hardeep Shoker
Photo of Iain Cheyne

Iain Cheyne

  • 7 Posts
  • 0 Reply Likes
My issue with this was because i didn't have all these images on my local disk when using dreamweaver to build it. I did a 'get' from the server[remoteview] to my local disk, without project settings file and then rebuilt.

Icons and splash screen where all there.
Photo of Aleix Martínez Suau

Aleix Martínez Suau

  • 12 Posts
  • 0 Reply Likes
Hi,

I have the icon.png in the route of my app, the in my config.xml and the icon doesn't appear in my android device. Instead appears the default phonegap icon.

It started to happend yesterday. All the previous versions worked ok. Now if i try with older zip files that worked in the past months I'm getting the same: default phonegap icon, while in the past i got my custom icon with the same zip file.

App ID: 857514

¿Any idea about what's happening and how to solve it?

Thanks,

Aleix
Photo of sandeep parashar

sandeep parashar

  • 22 Posts
  • 0 Reply Likes
my icon is not coming in ios ipad before this it was fine and now its showing default icon when i am upgrading my build from 2.9 to 3.3.0 then is coming but now my child browser not working ..
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Use inAppBrowser plugin instead of ChildBrowser
Photo of sandeep parashar

sandeep parashar

  • 22 Posts
  • 0 Reply Likes
if i am changing my phoneGap version from 2.9 to 3.3 then its coming only...i am isntalling my app on ios 7+

please give me sol" in version Phonegap 2.9
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Topic no longer active (too old). Please create new topic if needed.

This conversation is no longer open for comments or replies.