2 Replies Latest reply on Sep 20, 2016 5:58 PM by risingj

    Phonegap ios app completness issue

    minhal07 Level 1

      I am having issues with phonegap ios build.

       

      Following is the response from apple:

       

      We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 9.3.5 on Wi-Fi connected to an IPv6 network.

      Specifically, the app launches to blank white screen with no functionality.

       

      Below is the Scenario:

       

      I am developing a phonegap app using cli-6.3.0 version for android and ios from AEM using crxdelite.

       

      I have a zip file that contains the content/app-name/phonegap folder which has the config.xml, index.html and icons which i upload to https://build.phonegap.com/apps and get the ios .ipa file and the android .apk package.

       

      Following is the config.xml

       

       

      <widget id="com.example.com" version="1.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">

          <name>Test</name>

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

          <description>

            Test

          </description>

          <author href="http://adobe.com">

              Dev

          </author>

          <content src="http://www.example.com" />

       

          <preference name="UIWebViewBounce" value="false" />

          <preference name="DisallowOverscroll" value="true" />

          <preference name="orientation" value="potrait" />

          <preference name="target-device" value="universal" />

          <preference name="fullscreen" value="false" />

          <preference name="webviewbounce" value="false" />

          <preference name="prerendered-icon" value="true" />

          <preference name="stay-in-webview" value="false" />

          <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="true" />

          <preference name="disable-cursor" value="false" />

          <preference name="android-minSdkVersion" value="7" />

          <preference name="android-installLocation" value="auto" />

          <preference name="SplashScreen" value="screen" />

          <preference name="prerendered-icon" value="true"/>

          <!--preference name="SplashScreenDelay" value="3000" /-->

       

       

          <!-- File preferences -->

          <preference name="iosPersistentFileLocation" value="Library" />

          <preference name="AndroidPersistentFileLocation" value="Internal" />

       

      <icons>

      ----

      </icons>

       

          <access origin="*" />

          <allow-intent href="http://*/*" />

          <allow-navigation href="*" />

       

       

          <!-- Phonegap Build Plugins -->

          <gap:plugin name="cordova-plugin-whitelist" source="npm" />

          <gap:plugin name="cordova-plugin-file" source="npm" />

          <gap:plugin name="cordova-plugin-file-transfer" source="npm" />

          <gap:plugin name="cordova-plugin-device" source="npm" />

          <gap:plugin name="cordova-plugin-http" source="npm" />

      </widget>

       

      Content src points to mobile site. So basically i am using the app as a container for the mobile site.

      The .apk package uploads fine on google play store and the app is accessible and working.

      I have installed the .ipa using https://www.diawi.com/ for testing and it works fine.

      But when i upload it to apple store it gives me the above error.

       

      Is there something in the config.xml i need to add/remove to fix this issue?

       

      Thanks