garys6969

PGB no longer shows my config.xml specified start up splash screen

suddenly the build breaks - shows the phone plug splash startup screen and not MY startup png.

What is broken?
10 people have
this problem
+1
This topic is no longer open for comments or replies.
  • Alan Neveu
    I am seeing the same problem on iPhone. This might be related to 1.7.0, I am not sure. I just upgraded my config.xml to use 1.7.0 and then I noticed the problem, but I have not built using 1.6.1 in a couple of weeks, so I do not know if it is due to 1.7.0 or just a new change in PG Build. I will try Android next on 1.7.0 and report my findings here.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    I just tried Android and the app icon is the generic one that has the blue background and diagonal IIII weird Roman numeral thing. I also do not see any splash screen for Android, even though it worked previously. Next I will try changing my Config.xml back to 1.6.1 and see if that resolves these issues. Stay tuned...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    And here are the results using 1.6.1:

    - iPhone has splash screen again

    - Android has generic icon

    - Android has no splash screen at all

    Please note that the app icon for iPhone seems to work just fine whether using 1.6.1 or 1.7.0. I have not tried BlackBerry yet, but if you figure this out please take a look at BB to see if the same problems are there with 1.7.0. But the Android issues seem to be present on both 1.7.0 and 1.6.1.

    Please help, would like to use 1.7.0 and push an update so I can get the camera fixes for iOS, but I don't want that generic splash screen. Many thanks in advance!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Vincent Valentine
    Im trying to load in some splash screens and icons. But don't seem to work.

    Sample of my config.xml

    Redux Design

    A guide to Redux

    Vincent Valentine

    This reply was created from a merged topic originally titled
    xhdpi support on Config.xml.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • adamprocter
    iOS icons are not working for me since updating to new config file as per blog and example , no idea why I moved files into new folder structure and am using the same xml file as demo

    Code follows
    iOS icons on iPhone 4s black
    <br /><br />
    &lt;!-- Icons --&gt;<br /><br />
    &lt;icon src=&quot;icon&#46;png&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;ios&#47;icon&#46;png&quot; width=&quot;57&quot; height=&quot;57&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;ios&#47;icon-72&#46;png&quot; gap:platform=&quot;ios&quot; width=&quot;72&quot; height=&quot;72&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;ios&#47;icon_at_2x&#46;png&quot; width=&quot;114&quot; height=&quot;114&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;android&#47;ldpi&#46;png&quot; gap:platform=&quot;android&quot; gap:density=&quot;ldpi&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;android&#47;mdpi&#46;png&quot; gap:platform=&quot;android&quot; gap:density=&quot;mdpi&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;android&#47;hdpi&#46;png&quot; gap:platform=&quot;android&quot; gap:density=&quot;hdpi&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;bb&#47;icon&#46;png&quot; gap:platform=&quot;blackberry&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;bb&#47;icon_hover&#46;png&quot; gap:platform=&quot;blackberry&quot; gap:state=&quot;hover&quot;&#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;winphone&#47;icon&#46;png&quot; gap:platform=&quot;winphone&quot; &#47;&gt;<br />
    &lt;!-- winphone requires a jpg for the tile icons --&gt;<br />
    &lt;icon src=&quot;icons&#47;winphone&#47;tileicon&#46;png&quot; gap:platform=&quot;winphone&quot; gap:role=&quot;background&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;webos&#47;icon&#46;png&quot; gap:platform=&quot;webos&quot; &#47;&gt;<br />
    &lt;icon src=&quot;icons&#47;webos&#47;miniicon&#46;png&quot; gap:platform=&quot;webos&quot; gap:role=&quot;mini&quot; &#47;&gt;<br /><br />
    &lt;!-- Splash Screens --&gt;<br />
    &lt;gap:splash src=&quot;splash&#46;png&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;ios&#47;Default-Landscape&#46;png&quot; width=&quot;1024&quot; height=&quot;768&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;ios&#47;Default-Portrait&#46;png&quot; width=&quot;768&quot; height=&quot;1024&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;ios&#47;Default&#46;png&quot; width=&quot;320&quot; height=&quot;480&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;ios&#47;Default_at_2x&#46;png&quot; width=&quot;640&quot; height=&quot;960&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;android&#47;ldpi&#46;png&quot; gap:platform=&quot;android&quot; gap:density=&quot;ldpi&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;android&#47;mdpi&#46;png&quot; gap:platform=&quot;android&quot; gap:density=&quot;mdpi&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;android&#47;hdpi&#46;png&quot; gap:platform=&quot;android&quot; gap:density=&quot;hdpi&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;bb&#47;splash&#46;png&quot; gap:platform=&quot;blackberry&quot; &#47;&gt;<br />
    &lt;gap:splash src=&quot;splash&#47;winphone&#47;splash&#46;jpg&quot; gap:platform=&quot;winphone&quot; &#47;&gt;<br /><br />
    &lt;feature name=&quot;http:&#47;&#47;api&#46;phonegap&#46;com&#47;1&#46;0&#47;camera&quot;&#47;&gt;<br />
    &lt;feature name=&quot;http:&#47;&#47;api&#46;phonegap&#46;com&#47;1&#46;0&#47;file&quot;&#47;&gt;<br />
    &lt;feature name=&quot;http:&#47;&#47;api&#46;phonegap&#46;com&#47;1&#46;0&#47;media&quot;&#47;&gt;<br />
    &lt;feature name=&quot;http:&#47;&#47;api&#46;phonegap&#46;com&#47;1&#46;0&#47;network&quot;&#47;&gt;<br /><br />
    &lt;preference name=&quot;orientation&quot; value=&quot;portrait&quot;&#47;&gt;<br />
    &lt;preference name=&quot;target-device&quot; value=&quot;handset&quot; &#47;&gt;<br /><br />
    &lt;&#47;widget&gt;<br /><br />


    This reply was created from a merged topic originally titled
    iOS icons with new config.
    • Hardeep Shoker (Official Rep/Developer) May 14, 2012 22:52
      Hey Adam,

      I haven't had an issue with icons on the latest versions however the splash screens for sure you are experiencing issues with.

      Also please not that the actual locations provided in the example served as just an example. The actual files can reside in any directory as long as the config.xml contains the correct paths.

      Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hardeep Shoker (Official Rep/Developer) May 14, 2012 22:45
    Hey I just wanted to notify everyone that we are looking into the issue, we made the appropriate changes to Android on 1.7.0, however it seems that IOS has also changed it's implementation of splash screens.

    We've tracked this bug and are looking at resolving it.

    Here is some more information:

    http://shazronatadobe.wordpress.com/2...

    Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • webacons
    Howdy

    When building with phonegap 1.7 on PGB the app always shows the default cordova splash screen in iOS.

    We tried:
    - Building our own app using config.xml as decribed in https://build.phonegap.com/docs/confi...
    - Building the demo app from https://github.com/hardeep/pgbuild-app

    The result is the same: The app shows the default cordova splash screen.
    Using PG 1.6.1 shows the splashes as expected but is not an option for us.

    Thank you for your help.

    This reply was created from a merged topic originally titled
    Splash screens of demo app not working with PGB 1.7.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Chris Mapes
    happy I’m Relieved
    Hey guys,

    I was stuck with this problem for about 1.5 hours before I slapped myself across the face and realized that I needed to clean my build in Xcode. After you have the proper Default.png and Default@2x.png files in the splash folder and can see the proper launch images being shown under "Lunch Images" in the project summary pane in Xcode, do the following:

    Go to Product -> Clean (this will clean and perform a "deep rebuild" of your project).

    After it is done try running your app in the simulator and with any luck you'll be in business. Hope this helps someone else!
    • What you are saying might be true for poepole building using Xcode.
      I belive most of us (those complaining about this issue) are using PGB and not compiling the apps ourselves.

      that said,
      still maybe your info will help the guys at PGB resolve this issue.
    • Whoops, I overlooked that you guys aren't using Xcode. I'm not sure if what I noticed about needing to clean the project has anything to do with PGB's problem with the splash pages. I never needed to clean projects in the past to get the splash screens to update, prior to cordova 1.7. Might be related.

      Good luck on finding a solution
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • webacons
    Hey guys,

    Just to let you know where we'r at:


    • We need PG 1.7 because of CB-347 and CB-330

    • The app is overdue for release / update

    • We updated the config.xml to exactly match the one from the docs (see below)



    After building on PGB we get

    • Default cordova splash screen on Android and iOS

    • Icons on iOS are messed up

    • We cannot submit to itunes connect. The message is "ipad:icon.png: icon dimensions (57x57) don't meet size requirements. The icon must be 72x72 pixels, in png format" (this worked with 1.6.1)

    • The same problems arise when using the Icon/Splash Demo App



    Here's the config.xml


    <icon src="icon.png" />
    <icon src="icons/ios/icon.png" width="57" height="57" />
    <icon src="icons/icon-72.png" gap:platform="ios" width="72" height="72" />
    <icon src="icons/icon-at_2x.png" width="114" height="114" />

    <icon src="icons/android/ldpi.png" width="36" height="36" gap:platform="android" gap:density="ldpi" />
    <icon src="icons/android/mdpi.png" width="48" height="48" gap:platform="android" gap:density="mdpi" />
    <icon src="icons/android/hdpi.png" width="72" height="72" gap:platform="android" gap:density="hdpi" />

    <gap:splash src="splash.png" />

    <gap:splash src="splash/ios/Default.png" width="320" height="480" />
    <gap:splash src="splash/ios/Default_at_2x.png" width="640" height="960" />
    <gap:splash src="splash/ios/Default-Landscape.png" width="1024" height="768" />
    <gap:splash src="splash/ios/Default-Portrait.png" width="768" height="1024" />

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



    Thank you again for looking into this!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hardeep Shoker (Official Rep/Developer) May 16, 2012 18:24
    Hey Webacons,

    Great! That's really useful information, last night I was able to get these issues sorted out in a staging environment.

    I'm working on getting it into our production environments now.

    Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hardeep Shoker (Official Rep/Developer) May 16, 2012 21:46
    Okay I just deployed a patch, I've tested the patch on an ipad, iphone, android mdpi, and android hdpi device.

    You should be able to test the patch as well, I've updated

    https://github.com/hardeep/pgbuild-app

    To reflect 1.7.0 issues that users were running into.

    If you're testing against this app please remember to hit "update", rebuild, delete the previous app from your phone, and install the new build.

    If you are testing your own application the same procedure follows hit "update", rebuild, delete the previous app from your phone, and install the new build

    Let me know how it goes,

    Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hardeep Shoker (Official Rep/Developer) May 17, 2012 04:00
    Alright,

    The patch seemed to help the situation for some however it also caused issues for other. I'm going to revert changes to this for tonight and I'll take a look at it again tomorrow morning.

    Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • webacons
    Howdy Hardeep

    Can you please give an estimate of the timeline when this issue will be resolved.

    Sorry to be demanding but our app is overdue and this is a blocker. If this cannot be resolved in time we will have to move back to build with xcode (which would really be a shame...)

    Thanks
    webacons
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    I just tested it again and found everything to work fine for iOS except that when I went to upload it to Apple it barked about the 57x57 icon. Android has a splash screen but the icon is the generic IIII icon. So I think the problem now is just the icons, right? Come on Hardeep, we're counting on you!!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    Is there any way that we can just get the iOS 57x57 icon issue resolved ASAP? The Android icon issues seem to be larger in scope. We really need to ship our app to the Apple App Store ASAP. Fixing this one iOS bug would be huge because it takes Apple 2 weeks to approve an app update, whereas Google Play (Android Market) is pretty much real-time. So if there is any ability to work on the iOS icon problem first and get that resolved, that would take the heat off this topic for my situation and probably many others. Can someone at Adobe please comment?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • anhnt3
    Me too, running the same problem and i must downgrade to 1.6.1.
    Pleas fix it.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    Okay, I don't know why, but just for kicks I tried rebuilding my app and then using the Application Loader to try sending it to iTunes again, and for some reason this time it worked! I did not receive any e-mail and I don't see any postings about anybody fixing this, but just maybe they are fixing it and have not yet sent an e-mail about it yet. So if anyone else is in the same boat, which is that you just need to submit a PG 1.7.0 app to the Apple AppStore ASAP, give it a try and it just might work. Now I'm going to see if the Android icons are magically fixed. I'll report back in a few...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    Okay, the Android icon is still the default IIII icon. But we are not so concerned about that due to how fast/easy it is to update our app in the Google Marketplace. So we'll continue to wait another day or two and see if this gets resolved.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    Just tried my app for BlackBerry built with 1.7.0. The icon is the default "plug" icon. Also, the app doesn't work for some reason, not sure why. I recall that 1.6.1 did not work for me either on BB and I had to resort to using 1.5.0, so it could still be the case. I hate to say it but I am starting to get the feeling that I'll have to resort to maintaining my own build environment for every PG platform that I want to target. Is anyone else feeling that way too? It is just too much at stake to have details like this out of our control, particulary once the app is shipping and you just need to make an update to take advantage of new PG bug fixes.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hardeep Shoker (Official Rep/Developer) May 20, 2012 19:38
    Hey everyone,

    This issue has been resolved, if you are still having issues can I please get your application id, it's the number in the url bar such as: (ex: https://build.phonegap.com/apps/#)

    Thanks for your patience :)

    Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    Hi Hardeep, here is my application id:

    84234

    As of right now, the Android build still shows the default icon but the splash screen is my image. And iPhone seems to be good with no issue when using the Application Loader. So it's just the Android icon at this point. Not sure what is up with BlackBerry, I'll look into that tomorrow. Thanks!
    • Hardeep Shoker (Official Rep/Developer) May 21, 2012 01:35
      Hey Alan,

      Please remove the gap:role="default" from the default icon (it's not needed)

      Also Android looks for densities not heights and widths please use the following:


      <icon src="some/path/ldpi.png" gap:platform="android" gap:density="ldpi" />
      <icon src="some/path/mdpi.png" gap:platform="android" gap:density="mdpi" />
      <icon src="some/path/hdpi.png" gap:platform="android" gap:density="hdpi" />


      That should solve the issues you are having.

      Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Alan Neveu
    Hardeep, that did it - thanks so much for all your help!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • webacons
    indifferent I’m just this last thing...
    Hi Hardeep

    id is 68881

    Splash screens and icons are fine but when I try to upload to itunes connect I still get the "ipad:icon.png: icon dimensions (57x57) don't meet size requirements. The icon must be 72x72 pixels, in png format"
    • view 3 more comments
    • Hi Hardeep

      The icon is there twice but the "/ios" part was missing in the path for the 72x72 icon:
      <icon src="icons/ios/icon.png" gap:platform="ios" width="57" height="57" />
      
      <icon src="icons/icon-72.png" gap:platform="ios" width="72" height="72" />

      App submitted. YES!

      Thank you Hardeep. Where do we send the bottle?
    • Hardeep Shoker (Official Rep/Developer) May 22, 2012 20:26
      Awesome!

      Glad to hear everything was sorted out : ), I raise my e-toast to your new app!

      Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hardeep Shoker (Official Rep/Developer) May 22, 2012 20:26
    I'm now going to close this issue as it is no longer an issue on build.

    Hardeep Shoker
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated