Results 1 to 4 of 4

Thread: ST + Phonegap build issue

  1. #1
    Sencha User
    Join Date
    Dec 2012

    Default ST + Phonegap build issue


    Since the last changes in Phonegap plugins repository (or maybe Sencha Cmd or Phonegap version ?) I am unable to make a proper build. The build finishes with no error but the .ipa is 10 Mb instead of 40 Mb before. Moreover, the icon is the default Phonegap one and when I launch the app, there is no splash screen and the home screen looks like the css has not been loaded. I have tried to change many things in the config file but was unable to find the issue; could someone help me?

    • ST 2.4.2
    • Sencha Cmd
    • Phonegap cli-6.3.0

    <?xml version='1.0' encoding='utf-8'?><widget id="***" version="1.1.12" xmlns="" xmlns:gap="">
        <author email="***" href="***">
    	<feature name="SplashScreen">
    		<param name="android-package" value="cordova-plugin-splashscreen" />
    		<param name="ios-package" value="CDVSplashScreen" />
        <content src="index.html" />
        <plugin name="cordova-plugin-splashscreen" source="npm" />
        <plugin name="cordova-plugin-camera" source="npm" />
        <plugin name="cordova-plugin-device" source="npm" />
        <plugin name="cordova-plugin-file" source="npm" />
        <plugin name="cordova-plugin-inappbrowser" source="npm" />
        <preference name="permissions" value="none" />
        <preference name="phonegap-version" value="cli-6.3.0" />
        <preference name="orientation" value="default" />
        <preference name="target-device" value="universal" />
        <preference name="fullscreen" value="true" />
        <preference name="webviewbounce" value="true" />
        <preference name="prerendered-icon" value="true" />
        <preference name="stay-in-webview" value="true" />
        <preference name="ios-statusbarstyle" value="black-opaque" />
        <preference name="detect-data-types" value="true" />
        <preference name="exit-on-suspend" value="false" />
        <preference name="show-splash-screen-spinner" value="true" />
        <preference name="auto-hide-splash-screen" value="false" />
        <preference name="disable-cursor" value="false" />
        <preference name="android-minSdkVersion" value="11" />
        <preference name="android-installLocation" value="auto" />
    	<preference name="SplashScreen" value="resources/icons/screen/android/screen-ldpi-portrait" />
    	<preference name="SplashScreenDelay" value="90000" />
    	<preference name="FadeSplashScreen" value="true" />
    	<preference name="fade-splash-screen-duration" value="5" />
        <icon src="icon.png" />
        <icon gap:density="ldpi" gap:platform="android" src="resources/icons/android/AppIcon40x40.png" />
        <icon gap:density="mdpi" gap:platform="android" src="resources/icons/android/AppIcon50x50.png" />
        <icon gap:density="hdpi" gap:platform="android" src="resources/icons/android/AppIcon72x72.png" />
        <icon gap:density="xhdpi" gap:platform="android" src="resources/icons/android/[email protected]" />
        <icon gap:platform="blackberry" src="resources/icons/blackberry/icon-80.png" />
        <icon gap:platform="blackberry" gap:state="hover" src="resources/icons/blackberry/AppIcon76x76.png" />
        <icon gap:platform="ios" height="57" src="resources/icons/ios/AppIcon57x57.png" width="57" />
        <icon gap:platform="ios" height="72" src="resources/icons/ios/AppIcon72x72.png" width="72" />
        <icon gap:platform="ios" height="114" src="resources/icons/ios/[email protected]" width="114" />
        <icon gap:platform="ios" height="144" src="resources/icons/ios/[email protected]" width="144" />
    	<icon gap:platform="ios" src="resources/icons/ios/AppIcon60x60.png" width="60" height="60" />
    	<icon gap:platform="ios" src="resources/icons/ios/[email protected]" width="120" height="120" />
    	<icon gap:platform="ios" src="resources/icons/ios/AppIcon76x76.png" width="76" height="76" />
    	<icon gap:platform="ios" src="resources/icons/ios/[email protected]" width="152" height="152" />
    	<icon gap:platform="ios" src="resources/icons/ios/AppIcon40x40.png" width="40" height="40" />
    	<icon gap:platform="ios" src="resources/icons/ios/[email protected]" width="80" height="80" />
    	<icon gap:platform="ios" src="resources/icons/ios/AppIcon29x29.png" width="29" height="29" />
    	<icon gap:platform="ios" src="resources/icons/ios/[email protected]" width="58" height="58" />
    	<icon gap:platform="ios" src="resources/icons/ios/AppIcon50x50.png" width="50" height="50" />
    	<icon gap:platform="ios" src="resources/icons/ios/[email protected]" width="100" height="100" />
        <icon gap:platform="webos" src="resources/icons/webos/AppIcon60x60.png" />
        <icon gap:platform="winphone" src="resources/icons/windows-phone/AppIcon50x50.png" />
        <icon gap:platform="winphone" gap:role="background" src="resources/icons/windows-phone/[email protected]" />
        <gap:splash gap:density="ldpi" gap:platform="android" src="resources/icons/screen/android/screen-ldpi-portrait.png" />
        <gap:splash gap:density="mdpi" gap:platform="android" src="resources/icons/screen/android/screen-mdpi-portrait.png" />
        <gap:splash gap:density="hdpi" gap:platform="android" src="resources/icons/screen/android/screen-hdpi-portrait.png" />
        <gap:splash gap:density="xhdpi" gap:platform="android" src="resources/icons/screen/android/screen-xhdpi-portrait.png" />
        <gap:splash gap:platform="blackberry" src="res/screen/blackberry/screen-225.png" />
        <gap:splash gap:platform="ios" height="320" width="480" src="resources/icons/screen/ios/screen-iphone-landscape.png" />
        <gap:splash gap:platform="ios" height="640" width="960" src="resources/icons/screen/ios/screen-iphone-landscape-2x.png" />
        <gap:splash gap:platform="ios" height="480" width="320" src="resources/icons/screen/ios/screen-iphone-portrait.png" />
        <gap:splash gap:platform="ios" height="960" width="640" src="resources/icons/screen/ios/screen-iphone-portrait-2x.png" />
        <gap:splash gap:platform="ios" height="1136" width="640" src="resources/icons/screen/ios/screen-iphone-portrait-568h-2x.png" />
        <gap:splash gap:platform="ios" height="640" width="1136" src="resources/icons/screen/ios/screen-iphone-landscape-568h-2x.png" />
        <gap:splash gap:platform="ios" height="1334" width="750" src="resources/icons/screen/ios/screen-iphone-portrait-667h-2x.png" />
        <gap:splash gap:platform="ios" height="750" width="1334" src="resources/icons/screen/ios/screen-iphone-landscape-667h-2x.png" />
        <gap:splash gap:platform="ios" height="768" width="1024" src="resources/icons/screen/ios/screen-ipad-landscape.png" />
        <gap:splash gap:platform="ios" height="2008" width="1536" src="resources/icons/screen/ios/screen-ipad-portrait-2x.png" />
        <gap:splash gap:platform="ios" height="1024" width="768" src="resources/icons/screen/ios/screen-ipad-portrait.png" />
        <gap:splash gap:platform="ios" height="1536" width="2008" src="resources/icons/screen/ios/screen-ipad-landscape-2x.png" />
        <gap:splash gap:platform="winphone" src="res/screen/windows-phone/screen-portrait.jpg" />
    	<access origin="*" />

  2. #2
    Sencha User
    Join Date
    Feb 2013


    So your Touch version did not change? Did your Cmd version change? From which Phonegap version did you upgrade?

  3. #3
    Sencha User
    Join Date
    Dec 2012


    My Touch version did not change but I might have changed from Cmd 5.x to 6.1. My previous Phonegap version was cli-5.2.0.

  4. #4
    Sencha User
    Join Date
    Feb 2013


    I'm assuming you tried reinstalling Phonegap. Have you tried the most recent version of Cmd (6.2.1)?

Similar Threads

  1. Replies: 9
    Last Post: 11 Dec 2014, 11:33 PM
  2. sencha app build native not uploading to build.phonegap
    By abcdef in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 27 Jun 2014, 9:14 PM
  3. error on 'sencha app build native'
    By Kurt001 in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 5 Oct 2013, 11:40 AM
  4. [NOREPRO] ST2 and camera + Phonegap 3 + Phonegap Build not working?
    By sypoltsystems in forum Sencha Touch 2.x: Bugs
    Replies: 9
    Last Post: 11 Sep 2013, 9:50 AM
  5. Phonegap Build?
    By UnicornCG in forum Sencha Cmd
    Replies: 1
    Last Post: 12 Mar 2012, 10:29 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts