PhoneGap Build - cli - 6.3.0 gives wrong icon for IOS

I build the app using the https://build.phonegap.com.

When you use cli 6.3.0 to build an application to fail to replace the default icon in the IOS version. the icon is specified in the config.xml file.

A few days ago, I used cli 5.4.1 to build the app and icon displayed correctly on IOS devices

is there a solution for cli 6.3.0 to fix this or can I change the 5.4.1 version all in construction.

Yes, you can use a lower version, using the preference 'phonegap-version '.

However, the correct icons should show (except 29x29@3 and 167 x 167, for which a bug report is always open).

If they do not, please

-post your config.xml here for participants in the forum can find errors

-confirm that you have both index.html and the config.XML in the directory root of your zip file.

Tags: PhoneGap

Similar Questions

  • PhoneGap Build InappBrowser - what am I doing wrong?

    I was faced with calls to plugins cordova of in my App. Basically, I use phonegap as a wrapper to load a CMS site. This issue has many sub-questions, so please excuse me if I take a wandering approach.

    I had originally planned to help Inappbrowser - but now I would like to support downloads (which it seems to me that Inappbrowser does not).

    Can I charge my external website in an Iframe? Looks like Iframes are bad because of compatibility.

    If I try to load my external site via an Iframe, I get an empty frame - what gives to think that something is wrong with my white list.

    Here's index.html file. I use inappbrowser here (with location defined or not).

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml " >

    < head >

    < title > Emerald Test App < /title >

    < name meta = "apple-mobile-web-app-compatible" content = "yes" / >

    < name meta = "viewport" content = "width = device-width" / > "

    < script src = "phonegap.js" > < / script >

    < / head >

    < script type = "text/javascript" >

    iabRef = window.open ('https://my-sites-url.com/content.aspx?page_id=31"," _self"," location = no "");

    iabRef.addEventListener ('loadstart', iabLoadStart);

    iabRef.addEventListener ('loadstop', iabLoadStop);

    iabRef.addEventListener ('loaderror', iabLoadError);

    iabRef.addEventListener ("quit", iabClose);

    < /script >

    < body >

    < / body >

    < / html >

    Here is my Config

    <? XML version = "1.0" encoding = "UTF-8"? >

    < widget xmlns = " " http://www.w3.org/ns/widgets "

    xmlns:gap = " " http://PhoneGap.com/ns/1.0 "

    ID = "com.my - site - url.testapp.

    versionCode = '5 '.

    version = "1.0.4" >

    Test App < name > < / name >

    < description >

    An application specially designed for your organization

    < / description >

    " < author href = ' https://www.my-site-URL.com "email =" " [email protected] "> "

    My application

    < / author >

    < name of gap: platform = "ios" / >

    < name of gap: platform = "android" / >

    < name of gap: platform = "winphone" / >

    < name of option = "orientation" value = "default" / >

    < name of option = "phonegap-version" value = "cli - 6.3.0" / >

    < name of option = "full screen" value = "false" / >

    < name of option = "loadUrlTimeoutValue" value = "700000" / >

    < option name = "LoadingDialog" value = "Please wait, the application will load" / >

    < name of option = "AllowInlineMediaPlayback" value = "true" / >

    < name of option = "SplashScreenDelay" value = "7000" / >

    < name of option = "KeepRunning" value = "true" / >

    "< src="res/icon/android-icon-36x36.png icon "gap: platform = gap: qualifier 'android' ="ldpi"/ >

    "< src="res/icon/android-icon-48x48.png icon "gap: platform = gap: qualifier"android"="mdpi"/ >

    "< src="res/icon/android-icon-72x72.png icon "gap: platform = gap: qualifier 'android' ="hdpi"/ >

    "< src="res/icon/android-icon-96x96.png icon "gap: platform = gap: qualifier 'android' ="xhdpi"/ >

    "< src="res/icon/apple-icon-57x57.png icon "gap: platform ="ios"width ="57"height ="57"/ >

    "< icon src="res/icon/apple-icon-72x72.png "gap: platform ="ios"width ="72"height ="72"/ >

    "< icon src="res/icon/apple-icon-76x76.png "gap: platform ="ios"width ="76"height ="76"/ >

    "< src="res/icon/apple-icon-114x114.png icon "gap: platform ="ios"width ="114"height ="114"/ >

    "< src="res/icon/apple-icon-144x144.png icon "gap: platform ="ios"width ="144"height ="144"/ >

    "< src="res/icon/apple-icon-120x120.png icon "gap: platform ="ios"width ="120"height ="120"/ >

    "< src="res/icon/apple-icon-152x152.png icon "gap: platform ="ios"width ="152"height ="152"/ >

    "< src="res/icon/android-icon-72x72.png icon "gap: platform ="webos"/ >

    "< src="res/icon/android-icon-48x48.png icon "gap: platform ="winphone"/ >

    "< src="res/icon/apple-icon-180x180.png icon "gap: Platform = 'winphone" gap: role = "background" / >

    "< src="res/screen/default.png gap: splash "/ >

    "< src="res/screen/default.png gap: splash "gap: platform = gap: qualifier 'android' ="port-ldpi"/ >

    "< src="res/screen/mdpi.png gap: splash "gap: platform = gap: qualifier 'android' ="port-mdpi"/ >

    "< src="res/screen/hdpi.png gap: splash "gap: platform = gap: qualifier 'android' ="port-hdpi"/ >

    "< src="res/screen/xhdpi.png gap: splash "gap: platform = gap: qualifier 'android' ="port-xhdpi"/ >

    "< src="res/screen/xxhdpi.png gap: splash "gap: platform = gap: qualifier 'android' ="port-xxhdpi"/ >

    "< src="res/screen/xxxhdpi.png gap: splash "gap: platform = gap: qualifier 'android' ="port-xxxhdpi"/ >

    "< src="res/screen/default.png gap: splash "gap: platform ="ios"width ="320"height ="480"/ >

    "< src="res/screen/640x960.png gap: splash "gap: platform ="ios"width ="640"height ="960"/ >

    "< src="res/screen/640x1136.png gap: splash "gap: platform ="ios"width ="640"height ="1136"/ >

    "< src="res/screen/750x1334.png gap: splash "gap: platform ="ios"width ="750"height ="1334"/ >

    "< src="res/screen/768x1024.png gap: splash "gap: platform ="ios"width ="768"height ="1024"/ >

    "< src="res/screen/1242x2208.png gap: splash "gap: platform ="ios"width ="1242"height ="2208"/ >

    "< src="res/screen/default.png gap: splash "gap: platform ="winphone"/ >

    < name of the ditch: plugin = 'cordova-plugin-camera' spec = "0.3.6" source = "MNP" / >

    < name of the ditch: plugin = "cordova-plugin-media-capture" spec = "1.0.1" source = "MNP" / >

    < name of the ditch: plugin = 'cordova-plugin-device' source = 'MNP' / >

    < name of the ditch: plugin = "cordova-plugin-device-orientation" source = "MNP" / >

    < name of the ditch: plugin = 'cordova-plugin-device-motion' source = 'MNP' / >

    < name of the ditch: plugin = source "cordova-plugin-file" = "MNP" / >

    < name of the ditch: plugin = source "cordova-plugin-file" = "MNP" / >

    < name of the ditch: plugin = 'cordova-plugin-transfer files' source = 'MNP' / >

    < name of the ditch: plugin = spec 'cordova-plugin-media' = "0.2.16" source = "MNP" / >

    < name of the ditch: plugin = "cordova-plugin-inappbrowser" source = "MNP" / >

    < name of the ditch: plugin = "cordova-plugin-globalization" source = "MNP" / >

    < name of the ditch: plugin = "cordova-plugin-dialogues" source = "MNP" / >

    < name of the ditch: plugin = 'cordova-plugin-vibration' spec = "1.2.0" source = "MNP" / >

    < name of the ditch: plugin = "cordova-plugin-whitelist" source = "MNP" / >

    < allow navigation href = "" * "/ >"

    < allow intention href = "" * "/ >"

    < access origin = "" * "/ >"

    " < allow navigation href = ' http://*.my-site-URL.com " />

    < / widget >

    If downloading and recording is not available through inappbrowser, how can I managed to save files from an external site (which is what I want to look like a native app)?

    On my external site, I tried to open the files by using things like

    window.open(url, '_system');

    And _blank and adding 'location = no' etc, but no dice. Probably because the pages open in the inappbrowser are in sandbox.

    -Is it possible to start a download from an external web page in Inappbrowser using javascript?

    Is my only option to modify the java plugin onappbrowser? Seems sketchy and examples seem to only support iOS.

    Should I use an Iframe? Any ideas why my Iframes would be empty by using the above configuration? I'm doing something wrong?

    If you've read this far, thanks for reading!

    Using the configuration and the index below, I use window.open ('whatever.png', '_system'); and the png is displayed full screen and I have to use the device back button to return to the interface (or on iOS, you're stuck and have to restart).

    That's because window.open() does NOT part of the interface of the inappbrowser plugin. Thus, you do not invoke the inappbrowser plugin and you don't get the system browser to view it.

    Please read and apply the docs of the inappbrowser of the plugin.

    In your html code:

    It is not valid, because you have a script element between the head and the body, which is not validated.

    The code could still 'work', but the result is invalid and therefore not defined/unpredictable.

    On your config:

    -you have a mixture of gap: syntax of the area names and syntax most recent without social fracture: namespace. I suggest you drop the gap: namespace altogether and use the new syntax only.

    -you have specified the portrait and landscape, but lack the splash of landscape.

    -for some plugins (camera and media, for example), you pinned extremely old versions. What did you do for a special purpose?

    - http://*.my-site-url.com"/ > is redundant, since you already have

  • PhoneGap build Dreamweaver Extension not displaying correct not build State

    Starting yesterday the Extension of Dreamweaver PhoneGap build does not display the correct version status for Android or Symbian after clicking on 'Rebuild the Application'.  They always show that the Build queue, but if you look at the site build.phonegap.com they finished construction.  I tried loging off the screen and the connection back.  I tried to close Dreamweaver and reopening.  The two sections are displayed correctly until the next time that you click on "demand to rebuild."

    Jason, I guess that after erasing the folders in your site, you're not face any problem.

  • PhoneGap build on mac error

    I tried to get PhoneGap works on my mac. When I build a debug version, it gives me this error:

    [BUILD] The application of filling source

    [BUILD] The analysis of config.xml
    [BUILD] Generation of output files
    [WARNING] Cannot find the debugging token
    [ERROR] Tools BBNDK is not found. Please make sure that you have installed the SDK native BlackBerry [http://developer.blackberry.com/native/] and the path configured via the bbndk-env script.

    Where can I configure the location of my debugging token? The BBNDK is installed and I executed the script of bbndk-env. Don't know what I did wrong here.

    Hello

    Thanks for reporting this.

    You will need to run ' source bbndk - env.sh "and you can confirm it worked by running" that blackberry - deploy. "

    The warning about the debugging token can be ignored. It is not generated until you use the run script.

    We will clean up to make it more explicit error messages.

  • iTunes fails to install the created PhoneGap Build .ipa file

    I used PhoneGap Build to create a .ipa file signed.   However, iTunes is not able to install it on my iPod Touch which is running iOS 9.3.4.   When I start to synchronize the device it goes through the process of installation of the application, but then the application icon disappears and no error message is displayed.   Any suggestions on how to figure out what might be wrong.   I use the latest version of PhoneGap - cli - 6.3.0 (4.2.0 / 5.2.1 / 4.4.1)   My application ID is 2214031.

    Yes.

    The distribution certificate allows you to download from the AppStore. Apps can only be downloaded and installed from there, then.

    If you want to install on your device to directly test a .ipa, there a development certificate, the devices registered (in your account of Apple developers) and a mobileprovision with these included devices.

  • PhoneGap build fail (perhaps android SDK Java changes?)

    I use phongap build cli 6.0.0

    Since last 24/03/2016 the build for my app Android fail, recent changes made in support of android sdk libraries in phonegap build there?

    I'm building an application without problems until the day before... (23/03/2016)

    I get the following error:

    Construction date: 2016-03-25 08:24:03 + 0000

    Download https://repo1.Maven.org/Maven2/com/Facebook/Android/Facebook-Android-SDK/4.10.1/Facebook-a ndroid sdk - 4.10.1.pom

    Download https://repo1.Maven.org/Maven2/com/parse/bolts/bolts-applinks/1.3.0/bolts-applinks-1.3.0.p om

    Download https://repo1.Maven.org/Maven2/com/parse/bolts/bolts-tasks/1.3.0/bolts-tasks-1.3.0.Pom

    FAILED: Build failed with an exception.

    * What went wrong:

    There was a problem the root project configuration 'project '.

    > Cannot resolve all the dependencies configuration ': _debugCompile'.

    > Not found com.android.support:support - v4:23.2.0.

    Search in the following locations:

    https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.0/support-v4-23.2.0.pom

    https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.0/support-v4-23.2.0.jar

    file:/Android-SDK/Extras/Android/m2repository/com/Android/support/support-v4/23.2.0/Suppo rt - v4 - 23.2.0.pom

    file:/Android-SDK/Extras/Android/m2repository/com/Android/support/support-v4/23.2.0/Suppo rt - v4 - 23.2.0.jar

    file:/Android-SDK/Extras/Google/m2repository/com/Android/support/support-v4/23.2.0/suppor t - v4 - 23.2.0.pom

    file:/Android-SDK/Extras/Google/m2repository/com/Android/support/support-v4/23.2.0/suppor t - v4 - 23.2.0.jar

    Required by:

    : project: indeterminate > com.android.support:support - v13:23.1.0

    > Not found com.android.support:support - v4:23.2.0.

    Search in the following locations:

    https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.0/support-v4-23.2.0.pom

    https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.0/support-v4-23.2.0.jar

    file:/Android-SDK/Extras/Android/m2repository/com/Android/support/support-v4/23.2.0/Suppo rt - v4 - 23.2.0.pom

    file:/Android-SDK/Extras/Android/m2repository/com/Android/support/support-v4/23.2.0/Suppo rt - v4 - 23.2.0.jar

    file:/Android-SDK/Extras/Google/m2repository/com/Android/support/support-v4/23.2.0/suppor t - v4 - 23.2.0.pom

    file:/Android-SDK/Extras/Google/m2repository/com/Android/support/support-v4/23.2.0/suppor t - v4 - 23.2.0.jar

    Required by:

    : project: indeterminate > com.facebook.android:facebook - android - sdk:4.10.1

    > Not found com.android.support:cardview - v7:23.2.0.

    Search in the following locations:

    https://repo1.maven.org/maven2/com/android/support/cardview-v7/23.2.0/cardview-v7-23.2.0.p om

    ar https://repo1.maven.org/maven2/com/android/support/cardview-v7/23.2.0/cardview-v7-23.2.0.j

    file:/Android-SDK/Extras/Android/m2repository/com/Android/support/CardView-v7/23.2.0/card view - v7 - 23.2.0.pom

    file:/Android-SDK/Extras/Android/m2repository/com/Android/support/CardView-v7/23.2.0/card view - v7 - 23.2.0.jar

    file:/Android-SDK/Extras/Google/m2repository/com/Android/support/CardView-v7/23.2.0/cardv iew - v7 - 23.2.0.pom

    file:/Android-SDK/Extras/Google/m2repository/com/Android/support/CardView-v7/23.2.0/cardv iew - v7 - 23.2.0.jar

    Required by:

    : project: indeterminate > com.facebook.android:facebook - android - sdk:4.10.1

    > Not found com.android.support:support - v4:23.2.0.

    Search in the following locations:

    https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.0/support-v4-23.2.0.pom

    https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.0/support-v4-23.2.0.jar

    file:/Android-SDK/Extras/Android/m2repository/com/Android/support/support-v4/23.2.0/Suppo rt - v4 - 23.2.0.pom

    file:/Android-SDK/Extras/Android/m2repository/com/Android/support/support-v4/23.2.0/Suppo rt - v4 - 23.2.0.jar

    file:/Android-SDK/Extras/Google/m2repository/com/Android/support/support-v4/23.2.0/suppor t - v4 - 23.2.0.pom

    file:/Android-SDK/Extras/Google/m2repository/com/Android/support/support-v4/23.2.0/suppor t - v4 - 23.2.0.jar

    Required by:

    : project: indeterminate > com.google.android.gms:play - services-Analytics: 8.4.0 > com.google.android.gms:play - services-under-ground: 8.4.0

    * Try:

    Run with the option - stacktrace to get stack trace. Run with the option - info or - debug option to get out of the newspaper.

    BUILD FAILED

    Total time: dry 5,785

    undefined

    Support Android library updated 23.2.0 on the PhoneGap Build that fixes this problem.

    If you now receive this error:

    use - sdk:minSdkVersion 14 cannot be less than the declared 15 version in the project/build/intermediates/exploded-aar/com.facebook.android/facebook-android-sdk/4.10 library. 1/AndroidManifest.Xml

    You can also set your project to 15 minSdkVersion or more:

    The cause of this was the update to its android library dependecy facebook-android-sdk version supported.

  • How to install Phonegap by CLI without Internet connection

    Hello guys.

    I just want to know in regard to this question because in the docs phonegap it was did not there if you install phonegap by CLI, you need an internet connection.

    Here's the command:

    NPM install g phonegap

    If with should this, I really an internet connection when installing phonegap by CLI?

    If SO, is there anyway where I can install phonegap without an internet connection using the CLI? I don't want to use the desktop version, because I want to have all the benefits of using CLI on the desktop version.

    Please help me guys hurt, I need your help. Thank you!

    You need an Internet connection at a given time. Why?

    -NPM install phonegap g: download the PhoneGap CLI and dependencies associated with NPM, which requires Internet access. You can download them to your local machine and install them like that, but anyway, you must Access the Internet at any given time.

    -create a phonegap: by default, the Hello World template downloads. You can change it in a local directory.

    phonegap-plate-forme add: download the NGP platform. Again, you can install from a local directory, but you will need to download the platform at some point.

    -Add some phonegap plugin: download the plugin from the Museum. You can install from a local directory, but you have to download the plugin at some point.

    -The first time you build for Android, Gradle will be configured and download dependencies.

    Now, if you don't mind not to transport files back from an environment that has Internet access, you can download the first four on a USB and copy on the environment that doesn't and then install from local directories. I'm not entirely sure of what to do about the Gradle part. You can probably do something similar, but I have never tried.

    It is easier to have an Internet connection through the first generation. After that (assuming that you do not change the platform or plugins), I don't think that you need an Internet connection until you need to deploy it to the app store.

  • Images by default Windows Store rejects built with Phonegap Build

    Recently this year, Microsoft has updated their policies.  PhoneGap Build has updated their servers for including CLI 6.1 +, which opens the options for the config.xml file for different processor architectures Windows, as well as versions of OS now.  Now, there is a problem, I have somewhere in the process.  The problem is a failure to test brand:

    There are some images that are respected in the output of the .aspx file resulting of Phonegap Build.  The images in question are images of Cordoba by default placed in the folder root\images of the .aspx file.  No matter what configurations I place my file config.xml, these images are not being replaced, so the .aspx still has no presentation.  I tried these parameters:

    Here is the structure of the app:

    As you can see, I tried to place in different places.  I've updated the config.xml file each time.  I tried these permutations different config.xml:

    "< icon src="icons/windows/StoreLogo.scale-100.png "width ="50"height ="50"/ >

    "< icon src=www/icons/windows/StoreLogo.scale-100.png" width = "50" height = "50" / >

    "< icon src="res/icon/windows/StoreLogo.scale-100.png "width ="50"height ="50"/ >

    "< icon src="www/icons/windows/StoreLogo.scale-100.png "target ="StoreLogo"/ >

    At least if Phonegap Build has not generated from these files, the application would satisfy.  Take not that I have a set of default icon and splash screen.  These settings especially for my default settings changed not the generation who spent (a few months ago) before the update to their servers for support of Windows 10 GBP.  The resulting app generated at that time there was the screen icon and correct boot for all platforms.

    How do I configure BMPS to create an application that will pass the requirements of Microsoft or remove .png files in the Archives of .aspx, under pics which are the images by default of cordova dislike Microsoft.

    I submitted this as a bug.  It was addressed quickly and BMP substitute for now all images, as expected.

    Build for Windows does not crush the 7 of 15 default images · Number #536 · PhoneGap/construction · GitHub

  • Upgrade of PhoneGap Build - breaking builds since yesterday

    Our constructions for iOS and Android are no longer works.

    We have upgraded the phonegap 6.3.0 CLI version as suggested.

    Two of our applications are now stuck on the "Loading" page where we will be waiting for the onready device.

    Builds are successful, but the same code base behaves differently from updates.

    Here are most of the relevant preferences and plugins of our config.xml

    < preference name = "permissions" value = 'none' / >
    < preference name = "orientation" value = "default" />
    < preference name = "target device" value 'universal' = />
    < preference name = "full screen" value = 'false' />
    < preference name = "webviewbounce" value = « true » />
    < preference name = "rentals-icon" value = « true » />
    < preference name "stay webview" = value = 'false' />
    < preference name = "detect types of data" value = « true » />
    < preference name = "exit suspend" value = 'false' />
    < preference name = "disable-cursor" value = 'false' />
    < preference name = "android-minSdkVersion" value ="14" />
    < preference name = "android-installLocation" value = « auto » />
    < preference name = "android-fitsSystemWindows" value = « true » />
    < preference name = "android-windowSoftInputMode" value = "adjustResize" />
    < preference name = ' phonegap-version ' value = ' cli - 6.3.0 ' / >
    < preference name = "LogLevel" value = "VERBOSE" />
    < preference name = "AndroidLaunchMode" value = "singleTop" />
    < preference name = "InAppBrowserStorageEnabled" value = « true » />
    < preference name = "StatusBarOverlaysWebView" value = 'false' />
    < preference name = "StatusBarBackgroundColor" value = "#000000" />
    < preference name = "StatusBarStyle" value = "lightcontent" />
    < preference name = "AutoHideSplashScreen" value = « true » />
    < preference name = "SplashScreenDelay" value = « 1000 » />
    < preference name = "FadeSplashScreen" value = 'false' />
    < preference name = "ShowSplashScreenSpinner" value = 'false' />

    < Gap : plugin name = "cordova-plugin-console" source ="npm" spec ="~1.0.3" />
    < Gap : plugin name = "cordova-plugin-dialogues" source ="npm" spec ="~1.2.1" />
    < Gap : plugin name = ' cordova-plugin-splashscreen ' source ="npm" spec ="~3.2.2" />
    < Gap : plugin name = ' cordova-plugin-device ' source ="npm" spec ="~1.1.2" / >
    < Gap : plugin name = "cordova-plugin-whitelist" source ="npm" spec ="~1.2.2" />
    < Gap : plugin name = ' cordova-plugin-network-information ' source ="npm" spec ="~1.2.1" />
    < Gap : plugin name = "statusbar-plugin-cordova" source ="npm" spec ="2.1.3" />
    < Gap : plugin name = "cordova-plugin-inappbrowser" source ="npm" spec ="~1.4.0" />
    < Gap : plugin name = "cordova-plugin-detect-screenshot" source ="npm" spec ="1.0.4" />
    < Gap : plugin name = "cordova-plugin-ignoremuteswitch" source ="npm" spec ="~1.0.1" />

    < allow-intent href ="https://*/*" />
    < allow navigation href ="https://*/*" />
    < access origin ="*" />

    Post edited by: DaShaun Carter

    Oh if you were locked in cli - 6.1.0, this should not made all the changes. We have not added that versions, not build strings have changed.

    Have you tried to attach a debugger to see what are the mistakes are happening?

  • PhoneGap build - where to put application icons and splashscreen files

    As build phonegap says to download only www.zip folder so I'm not able to understand where I should put the icons and the splashscreen for each platform folder. Should I put inside www?

    The reason for asking this question is that if we're supposed to keep the icons and splash inside www only so my application will become very heavy icons and useless and splash screen files will be added in my app that my application is cross-platform supported and I have included icons and splash for all platforms.

    If we are working offline (phonegap cli) then we used to keep files inside "res" outside the folder "www" and cordova build process automatically copy only specific platform icons and splash screen files, but here, it will add all the files even some of then are no longer required for the selected platform. Please let me know if one any idea on this subject.

    a. When you use Phonegap Build, your icons and splash are anywhere you want. BMP does not require a specific directory of your zip file structure. Neither requires a naming scheme.

    The best is:

    -have index.html and config.xml icon.png in the root directory of your zip

    -all the rest well organized, have you like

    -Make sure the paths in your config file are completely correct.

    For example:

    / index.html

    / config. XML

    Icon.PNG

    /myOtherPages/Page2.html

    /myOtherPages/page3.html

    /myOtherPages/page4.html

    / myOtherPages /...

    /myIcons/icon60.PNG

    /myIcons/icon90.PNG

    /myIcons/icon120.PNG

    / myIcons /...

    /mySplashes/splash320x480.PNG

    /mySplashes/splash480x320.PNG

    / mySplashes /...

    / myJavascriptfiles /...

    / myCSSfiles /...

    / myGraphics /...

    (b) make use of the file .pgbomit what is called to say a BMP to include only the directories and files that are required for each operating system.

    See the section commissioning of the BMPS documentation:

    Getting started | PhoneGap Docs

  • SplashScreen works only on Android only when built with Phonegap Build

    If I build my application locally, the splashscreen works well. However, if I build by Phonegap Build, it is not. In fact, this happens only if I use guidance in the density attribute such as:

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

    or

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

    Remove the parts of 'land -' or '-port' direction makes the splashscreen working again. But why this happens only when compiled by Phonegap Build? How can I treat the different directions this problem?

    I tried to downgrade the splashcreen plugin, change the resources folder names, file names, places, remove some preferences related to the splashscreen, but none worked. I tried Android 5.0 and 6.0 devices. Below is part of my config.xml file:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <widget id="aaa" version="1.1.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
      <name>aaa</name>
      <description>aaa</description>
      <author email="[email protected]" href="https://aaa.com/"></author>
    
      <content src="index.html"/>
      <access origin="*"/>
      <allow-navigation href="*"/>
      <allow-intent href="*"/>
    
      <preference name="permissions" value="none"/>
      <preference name="webviewbounce" value="false"/>
      <preference name="UIWebViewBounce" value="false"/>
      <preference name="DisallowOverscroll" value="true"/>
      <preference name="android-minSdkVersion" value="16"/>
      <preference name="BackupWebStorage" value="none"/>
    
      <!-- Splashscreen config -->
      <preference name="SplashScreen" value="screen"/>
      <preference name="SplashScreenDelay" value="4000"/>
      <preference name="FadeSplashScreenDuration" value="1000"/>
      <preference name="SplashMaintainAspectRatio" value="true"/>
      <preference name="SplashShowOnlyFirstTime" value="false"/>
      <!-- End of splashscreen config -->
    
      <preference name="phonegap-version" value="cli-6.1.0"/>
      <plugin name="cordova-plugin-splashscreen" spec="~3.2.2"/>
      <plugin name="cordova-plugin-inappbrowser" spec="~1.4.0"/>
      <plugin name="cordova-plugin-whitelist" spec="~1.2.2"/>
      <plugin name="cordova-plugin-dialogs" spec="~1.2.1"/>
    
      <feature name="StatusBar">
        <param name="ios-package" value="CDVStatusBar" onload="true"/>
      </feature>
      <platform name="android">
        <icon src="resources/android/icon/drawable-ldpi-icon.png" density="ldpi"/>
        <icon src="resources/android/icon/drawable-mdpi-icon.png" density="mdpi"/>
        <icon src="resources/android/icon/drawable-hdpi-icon.png" density="hdpi"/>
        <icon src="resources/android/icon/drawable-xhdpi-icon.png" density="xhdpi"/>
        <icon src="resources/android/icon/drawable-xxhdpi-icon.png" density="xxhdpi"/>
        <icon src="resources/android/icon/drawable-xxxhdpi-icon.png" density="xxxhdpi"/>
        <splash src="resources/android/splash/drawable-land-ldpi-screen.png" density="land-ldpi"/>
        <splash src="resources/android/splash/drawable-land-mdpi-screen.png" density="land-mdpi"/>
        <splash src="resources/android/splash/drawable-land-hdpi-screen.png" density="land-hdpi"/>
        <splash src="resources/android/splash/drawable-land-xhdpi-screen.png" density="land-xhdpi"/>
        <splash src="resources/android/splash/drawable-land-xxhdpi-screen.png" density="land-xxhdpi"/>
        <splash src="resources/android/splash/drawable-land-xxxhdpi-screen.png" density="land-xxxhdpi"/>
        <splash src="resources/android/splash/drawable-port-ldpi-screen.png" density="port-ldpi"/>
        <splash src="resources/android/splash/drawable-port-mdpi-screen.png" density="port-mdpi"/>
        <splash src="resources/android/splash/drawable-port-hdpi-screen.png" density="port-hdpi"/>
        <splash src="resources/android/splash/drawable-port-xhdpi-screen.png" density="port-xhdpi"/>
        <splash src="resources/android/splash/drawable-port-xxhdpi-screen.png" density="port-xxhdpi"/>
        <splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
      </platform>
    
      <icon src="resources/android/icon/drawable-xhdpi-icon.png"/>
    </widget>
    

    Maybe your projections are simply not found.

    You can post a screenshot of your zip file directory structure, please?

    Also, if you use any BMP, you need not include an element in your config file.

    Finally, BMP requires your icon by default to the root (with index and config), does not in some resources/.../-directory.

  • Use PhoneGap Build for existing products updated iOS app

    I am not an expert in using PhoneGap and I have no experience with PhoneGap Build, but I have an existing iOS application that has been created/updated and with PhoneGap/Cordova (3.3.0) 2 years ago.

    There is a hypertext link in the application to an external site and this link should be updated as soon as possible. After changing the outdated link in index.html file, I would be able to download the contents of the existing www folder (update: 2 years ago) to PhoneGap Build without additional modification?

    I intend to make the most important updates to the application this month and want to know more about PhoneGap and the features available, but for now, I need to try to update the broken link soon-to-be as quickly as possible.

    Thanks for your help

    It should work - even if it is difficult to ensure that the application built on PhoneGap Build all the same exact behavior than the one originally responsible. We do not know which resembled the original developer environment. Having said that - give it a shot. You will need to include the config.xml file, and I would recommend affecting the PhoneGap 3.3.0 version for now:

    Make your small update and test your application on a device to ensure that always, it behaves as expected. Note, however, that I don't expect 3.3.0 to be supported on PhoneGap Build for much longer (see the supported versions here).

  • No audio Media plugin using Phonegap Build on Android

    I am building an application that includes reliable audio playback in all of our target platforms and intended to use the media for this task plugin.  I was previously using the native object Javascript Audio, that seemed to work well on some Android devices, but did not work at all on others.  I have implemented the Media plugin in my project, but this day don't have not yet to have successfully play back audio on any of my devices to test and try to identify what I am doing wrong.

    My application should hopefully also run on a desktop browser, so I have a 'phonegap sniffer' in my javascript.  From there, we either start the application on the events of deviceready on mobile devices or document.ready on desktop devices, which seems to work well.

    var is_phonegap = navigator.userAgent.match (/ (iPhone: iPod: iPad |)) Android | BlackBerry | (IEMobile) /); USE DATA USERAGENT TO GUESS AT IF IT IS A DESKTOP APP PHONEGAP BROWSER OR HAS

    IMPLEMENT THE APPELLANTS TO THE DEVICE_READY FUNCTION: ADD EVENT LISTENER FOR PHONEGAP AND ADD DOCUMENT. READY FOR THE DESKTOP

    If (is_phonegap) document.addEventListener ('deviceready', device_ready, false);

    else $(document) .ready (device_ready);

    function device_ready() {}

    Console.log ("is phonegap? ' + (is_phonegap)? 'true': 'false'");

    ...

    }

    All the sound elements within the app are called by a function of play_sound:

    function play_sound (audio_file) {}

    var path = ' audio /' + audio_file;

    If (is_phonegap) var audio = new Media (path, null, media_error); IF IT IS AN APPLICATION, USE THE MEDIA PROVIDED BY THE PHONEGAP PLUGIN OBJECT

    else var audio = Audio new ("audio /' + audio_file"); IF IT IS ON THE DESKTOP, USE THE AUDIO OBJECT PROVIDED BY CORE JAVASCRIPT

    Console.log ("audio:" + JSON.stringify (audio)); INSPECT THE AUDIO OBJECT TO SEE WHAT IT LOOKS LIKE

    audio. Play(); PLAY THE SOUND

    }

    Since the media Builder allows an onError callback, I configure that as well:

    function media_error (e) {}

    Console.log ("media error:" + JSON.stringify (e)) ;// CHECK the ERROR TO SEE what IT LOOKS LIKE

    }

    I'm testing by running Phonegap Dev on an android device connected to Phonegap Office so that I can make use of console.log debug messages.  When I run the application and try to play a sound, I get the following output:

    is phonegap? true

    try to play the audio file: audio / shuffle.mp3 / / THIS FILE IS LOCATED IN THE/WWW/AUDIO/SHUFFLE PROJECT. MP3

    Media error: {"code": 1} / / this IS THE output OF THE MEDIA ERROR HANDLER

    I have ready in several discussions on the Media on Android plugin requirements of additional paths and believe that I have implemented the recommended solution (by Audio doesn't work for Build Android), but this does not help things.  I have changed the above to:


    function play_sound (audio_file) {}

    var path = platform_specific_audio_path ("audio /' + audio_file"); / / RUN PATH THROUGH PLATFORM FUNCTION

    If (is_phonegap) var audio = new Media (path, null, media_error);

    else var audio = Audio new ("audio /' + audio_file");

    Console.log ("audio:" + JSON.stringify (audio));

    audio. Play();

    }

    function platform_specific_audio_path (file) {}

    If (typeof peripheral == "undefined") return files;

    return (device.platform.toLowerCase () == 'android')? "" / android_asset/www / "+ file: file;

    }

    Use this version of the code displays the following:

    try to play the audio file: /android_asset/www/audio/shuffle.mp3

    Media error: {"code": 1}

    It seems that I am getting the same result of error of one of these paths.  I guess that's a path issue but are still to confirm it somehow.  I'm not familiar with how files are built within the app.  Is there a solution for this or can anyone identify what am I doing wrong?  Thanks a lot for any assistance.

    In light of your comment, you use the developer PhoneGap app in your workflow. It is the root of the problem you are experiencing. Using the Desktop App PG or 'phonegap serve' changes nothing (and it should be noted that none of these applications actually build your application.) They serve only the files using a web server.)

    The PhoneGap developer App is the app that run you on your mobile device to connect to PhoneGap Desktop App or "phonegap serving." It comes prebuilt with a selection of plugins, including the Media plugin. So why you can instantiate the class of media and see the properties and methods. Verification of the existence of these properties and methods only serves to check if the plugin is installed, not if the plugin will work correctly.

    In view of your code and the associated error message, you are trying to read a property grouped the app file. When your application is running in the application of the PhoneGap developer, however, no mechanism exists to physically push assets being served in assets grouped Application Developer PG. As a result, demand for game fails because the file is not found.

    A temporary workaround solution just to check that you can, indeed, play a media file would be to change the path to something like this:

        http://dev-machine-IP-address:PG - use-port/www/shuffle.mp3

    However, this is not what you'll want to have long-term in the production code. Instead, you must create a version of your application that you can run it directly (without using the App Developer PG or PhoneGap Serve).

    To do this, you can run (with your Android device, attached and assuming you have the Android SDK installed correctly):

    phonegap $ run android

    This should create a version of your application, including your multimedia files in the bundle and then run it on your device. You should then be able to play multimedia files that you try now.

    Otherwise, you can use the service of Cloud Computing to the PhoneGap Build to create a version of the app:

    Android construction distance phonegap $

    You can download the application resulting on your phone and it should work as well.

    Long-story-short: the developer PhoneGap App isn't a perfect representation of the environment that will receive your built apps. Do not rely on the PG Dev App to simulate an environment perfectly. at one point, the only real criterion is to build your application and install it on a device.

    Hope that helps.

  • PhoneGap Build API is not construction of application despite the 202 response

    Hello

    I wonder if anyone has had success using the API to build Phonegap to trigger the app builds?

    I write as follows. I replaced all the staff but happy to provide what whatsoever, if it helps.

    CURL u [email protected] x d POST " https://Build.PhoneGap.com/API/v1/Apps/123456/Build?auth_token=xxxxxxxxxxxxxxxxxxx

    I use the token stored in my account rather than generate it on the fly.

    And I get a 202 response back with the following data

    "" " string (1366)" {'id': 123456, "title": "App Title", "package": "com.ionicframework.appname123", "version": "0.0.2", "build_count": 10, "priv ate ': true, 'phonegap_version':" cli - 5.2.0 ","hydrate": true, 'share': false, 'last_build':"2016-02-02 07:33:29-0800",} ' description ': 'Check the application',"repo":"https://github.com/githubid/App.gittag ',' ":" ", 'debug': true, 'link':" / api/v1/apps/123456 ", 'plugins':" / api/v1/apps/123456/plugin s "", 'complete': true, 'role': "admin", "icon": {"filename": '[email protected]', 'link': "/ api/v1/app s/123456/icon"} " "" "", 'status': {"android": 'complete', 'ios': 'full', "winphone": 'jump'}, "downlo Announces": {"android": "/ api/v1/apps/123456/android", 'ios': "/ api/v1/apps/123456/ios"}, "error": {}, "install_url": "https://build.phonegap.com/apps/123456/install/abc123share_url ','": "https://build.phonegap.com/apps/123456/shareemployees ',' ': {'link':" / api/v1/apps/123456/collaborators ',' active ': [{'id': 111222, 'role': 'admin', 'person' ": '[email protected]',' link':" / api/v1/apps/123456/collaborators/222333 ""}] 'pending': []}, 'key '. "{: {"android": null, 'ios': {'id': 333444,"title":"Proclamer Cert', 'platform': 'ios', 'link': "/ api/v1/keys/ios/444555 ', 'default': true},"winphone": null}, '' newspapers '': {"android":" / api/v1/apps/123456/newspapers/android/construction ", 'ios':" / api/v1/apps/123456/logs/ios/build ","winphone":" / api/v1/apps/123456/newspapers/winphone/construction "}}"

    If everything looks good. But the app isn't the building when I trigger this. I was wondering if it was because the hydration has been lit and if that it impacts. Or if someone has a wisdom on what else to try.

    Because the code must be pulled from GitHub, I ran this call first to see if that makes a difference, but apparently not. I get the same answer to the foregoing.

    CURL u [email protected] PUT d x ' data = {'branch': 'The master'}' https://Build.PhoneGap.com/API/v1/Apps/123456?auth_token=xxxxxxxxxxxxxxxxxxxx

    Thank you

    Matt

    Just noticed that're missing you a parameter. Your sales data should look like this:

    -d 'data={"pull":"true"}'

    According to the docs "Update of an application based on the repo" here: PhoneGap Build Documentation.

  • How can I sign an application made with PhoneGap Build?

    Hello

    I set up the service of PhoneGap Build and created an account in order to make an application and download it in my cell phone.

    Now I've reached the point where I want to sign it and upload it to Google game.

    I have a developer account and I filled out all the data, do some screenshots and icons and a description for the app, etc.

    When I try to download on Google game it says "Upload failed...". "and I have to disable debugging.

    I tried to find information on how to do it and I installed the SDK package and even with success put in place the path in the settings for PhoneGap Build without any protest...

    Now what?

    I read trhe documentation on how to make a key with keytool using the cmd in windows one private key was transferred on my account on the phonegap construction site.

    Now according to the doc in phonegap to build this key must be used to signing the app I did in dreamweaver. So I recreated the app in Dreamweaver and uploaded and then tried to download Google game.

    Always the same problem that the application is in debug mode. This means that generation gap phone does not work as it should, or maybe that my key does not work.

    So my question is, first of all how can we see if the key is correctly generated with keytool?

    My next step is to manually sign the file app.apk with the jarsigner tool so I tried to do what therefore to the sample in the android documentation.

    This a screenshot of my attempt and the error message in the command line:

    error_jarsigner.png

    It feels like I've done everything by the book, but still my app is not signed and not valid for download on Google game files.

    Please give me a help in the creation of this last stage little but so difficult.

    Thank you!

    Micke

    Post edited by: MickeBergman

    I solved it...

    If someone else made the same mistake that I had then look here.

    Just create the key with the keytool utility using the command line (cmd.exe)

    Here is the how to guide (scroll down to "1." Obtain a suitable private key")

    Use the example, it works very well.

    Then upload it to your PhoneGap Build account by logging in at build.phonegap.com

    Under your account settings, download the yourkey.keystore file, and then unlock it.

    Then under Apps on your downloaded App title to get into the details of the application.

    Then (and this is what I missed and therefore have not signed and published) choose the key that you downloaded in the fold to the bottom of the menu to the right hanbd of the android logo

    Then click on rebuild and when it's done rebuild you just download and there a Yourapplication release added the file name and you are ready!

    Pheeeww it is a terrifying experience and yet so simple solution... Another strange noone has experienced this before me.

    In the end, I really welcome Dreamweaver which is also a great tool to easily make your own applications.

Maybe you are looking for

  • How to install DVB Tuner on Satellite P750?

    Hello I have a Satellite P750 and told me it was capable pf pick up TV without all the extra gadgets, I don't know how to set up

  • Issues of start-up after installation of updates last week

    After HP or microsoft updates installed last week (the two are set to auto install) my laptop - Pavilion dv7 is having published the beginning upward. When the Office lights after start upward, my security essentials icon is red and my network icon h

  • Compatibility Mac with Samsung smart TV

    I have a Macbook Air (OS X 10.11.1) computer and a smart Samsung LED TV on the same network home wireless.  I want to be able to reflect the screen of the computer on the TV and use the TV to play video files and display photos stored on the computer

  • Space low disk on my computer.

    I keep getting a message on my computer low disk space. I moved most of my files from the GB 116 C drive on an external hard drive. From now on C drive I don't have 55.8 MB 116 GB of free space, even if there are only 23 GB of files.  I ran the clean

  • All directors have been taking off my computer.

    I don't know what happened. Last night, I was an administrator now, I'm not and there is no Directors on my pc. I can create one in my account that I need a password for administrators. But it is not administrators, so I have no idea what to do. Help