Repost. Tried posting this as a question, but no one seems to monitor that portion of the forum.
What is the link between the icon and what is used during app installation?
The situation is that the icon used during install is the PhoneGap default one. But when the app is completly installed, the icons are ok. This goes with both iOS and Android. Also when using our internal app store (based on SAPs Afaria), the icon showing up there is the PhoneGap and not the app icon.
I would just add to the question that in the iOS .ipa file, all the .png files under \Payload\MyApp.app\ is empty. Is that how it should be ?
Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
-
Hi Tarje
I would just add to the question that in the iOS .ipa file, all the .png files under \Payload\MyApp.app\ is empty. Is that how it should be?
No. Should not do that.
Can you try the following example and see if it still the same? Look at config.xml for example declaration.
https://github.com/phonegap/phonegap-...
Remember to locate default icon and/or splash at the root directory.
<icon src="icon.png" />
<gap:splash src="splash.png"/>
Thanks
-Amir -
-
Hi, and thanks for answer.
I admit that my default icon was not placed at root level, and default splash was not defined. However, after adding both default icon and splash to root folder, there are still only empty (blank) .png files in the app folder.
I only have one app in PGB, I assume you may look it up if you'd like to look at the config.
Are there any log from the build process that could be made available together with the app installables?
Thanks. -
-
Hi Terje
Sure. Can you share your appid? I will look into that as soon as I can. You can find the ID from the URL bar:
https://build.phonegap.com/apps/####
-Amir -
-
Finding the app ID was not the reason for not providing it, but ok, it is now reverted to private.
AppID: 280455 -
-
I have now tried to upgrade the config file to PG 2.3.0. It seems to build ok, but the icon problem persists. (But from the content, it seems like it still is 2.2.0, but that's ok)
-
-
-
-
-
-
I have recreated the app (#312230), but when I download the newly created .ipa file to my PC, opens it with WinZip, and extracts all the 8 .png files located under \Payload\appname.app\, and then viewing them in a program able to view PNG files, all of them are still blank (no visual graphics, just empty). The files does contain something, as they have filesize, but they are obviously not PNG file format.
Should it be like this? If yes, then no problem, the issue must then be somewhere else.
Doing the same with the Android .apk file, I find under \res\drawable a file named icon.png. This contains the PhoneGap icon, not the application icon.
Should it be like this? I would like my application icon into it, can I do that?
The reason for asking is that our corporate/internal appstore (not Apple's appstore) lists the app with the PhoneGap icon instead of the applications icon.
After installation, the icon is ok on both iOS and Android devices. But I would like it to be listed with the applications icon instead all the way. -
-
-
Loading Profile...



EMPLOYEE

