0 Replies Latest reply on May 16, 2018 8:49 AM by peterw53891336

    can builds be compatible on older ipads

    peterw53891336

      I made a basic app using phonegap which uses html and javascript.   It includes jquery/jquery mobile and cordova libraries.

      I have a couple pages with forms and buttons, linking the different pages.  Uses ajax to submit forms.

      The app works fine on my iphone 6 / iphone 6 plus / iphone X and initial android tests.

       

      I then went to test it on two ipads  (ipad 1 and ipad 2)

      The screen froze after the splash.   I made a bunch of tests and changed to the first login page, adding buttons and simple alerts.

      It appears that no javascript will work.  I get nothing on a simple alert test.

       

      I did some reading and it looks like I could try an older cli version (I think 5 was suggested) but when I try that, phonegap build says 6 is the oldest I can use?

      I tried 6 and there was no improvement.

       

      I would think it would be normal to want to run things on older ipads?   Am I way off?

       

      Here is my config.xml:

       

      <?xml version='1.0' encoding='utf-8'?>

      <widget id="com.fittrackingsolutions.prometheus" version="1.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

          <name>Prometheus</name>

          <description>App used to connect Prometheus Problem Bank</description>

          <author email="support@alceatech.com" href="http://alceatech.com">

              Alcea Technologies Inc

          </author>

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

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

          <content src="index.html" />

          <access origin="*" />

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

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

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

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

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

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

          <xengine name="browser" spec="~5.0.3" />

          <xengine name="ios" spec="~4.5.4" />

          <xengine name="android" spec="~7.0.0" />

          <icon src="icon.png" />

          <splash src="splash.png" />

          <preference name="SplashScreenDelay" value="0" />

          <preference name="FadeSplashScreenDuration" value="0" />

          <platform name="android">

              <icon density="ldpi" src="res/icons/android/drawable-ldpi-icon.png" />

              <icon density="mdpi" src="res/icons/android/drawable-mdpi-icon.png" />

              <icon density="hdpi" src="res/icons/android/drawable-hdpi-icon.png" />

              <icon density="xhdpi" src="res/icons/android/drawable-xhdpi-icon.png" />

              <icon density="xxhdpi" src="res/icons/android/drawable-xxhdpi-icon.png" />

              <icon density="xxxhdpi" src="res/icons/android/drawable-xxxhdpi-icon.png" />

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

              <splash density="land-mdpi" src="res/screens/android/drawable-land-mdpi-screen.png" />

              <splash density="land-hdpi" src="res/screens/android/drawable-land-hdpi-screen.png" />

              <splash density="land-xhdpi" src="res/screens/android/drawable-land-xhdpi-screen.png" />

              <splash density="land-xxhdpi" src="res/screens/android/drawable-land-xxhdpi-screen.png" />

              <splash density="land-xxxhdpi" src="res/screens/android/drawable-land-xxxhdpi-screen.png" />

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

              <splash density="port-mdpi" src="res/screens/android/drawable-port-mdpi-screen.png" />

              <splash density="port-hdpi" src="res/screens/android/drawable-port-hdpi-screen.png" />

              <splash density="port-xhdpi" src="res/screens/android/drawable-port-xhdpi-screen.png" />

              <splash density="port-xxhdpi" src="res/screens/android/drawable-port-xxhdpi-screen.png" />

              <splash density="port-xxxhdpi" src="res/screens/android/drawable-port-xxxhdpi-screen.png" />

          </platform>

          <platform name="ios">

              <edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">

                  <string>App offers camera to take pictures</string>

              </edit-config>

              <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryUsageDescription">

                  <string>App offers option to access photos from library</string>

              </edit-config>

              <edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">

                  <string>App allows for storing location information</string>

              </edit-config>

              <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryAddUsageDescription">

                  <string>App offers option to store pictures taken</string>

              </edit-config>

              <icon height="57" platform="ios" src="res/icons/ios/icon.png" width="57" />

              <icon height="114" platform="ios" src="res/icons/ios/icon@2x.png" width="114" />

              <icon height="40" platform="ios" src="res/icons/ios/icon-40.png" width="40" />

              <icon height="80" platform="ios" src="res/icons/ios/icon-40@2x.png" width="80" />

              <icon height="50" platform="ios" src="res/icons/ios/icon-50.png" width="50" />

              <icon height="100" platform="ios" src="res/icons/ios/icon-50@2x.png" width="100" />

              <icon height="60" platform="ios" src="res/icons/ios/icon-60.png" width="60" />

              <icon height="120" platform="ios" src="res/icons/ios/icon-60@2x.png" width="120" />

              <icon height="180" platform="ios" src="res/icons/ios/icon-60@3x.png" width="180" />

              <icon height="72" platform="ios" src="res/icons/ios/icon-72.png" width="72" />

              <icon height="144" platform="ios" src="res/icons/ios/icon-72@2x.png" width="144" />

              <icon height="76" platform="ios" src="res/icons/ios/icon-76.png" width="76" />

              <icon height="152" platform="ios" src="res/icons/ios/icon-76@2x.png" width="152" />

              <icon height="29" platform="ios" src="res/icons/ios/icon-small.png" width="29" />

              <icon height="58" platform="ios" src="res/icons/ios/icon-small@2x.png" width="58" />

              <icon height="87" platform="ios" src="res/icons/ios/icon-small@3x.png" width="87" />

              <splash height="1136" platform="ios" src="res/screens/ios/Default-568h@2x~iphone.png" width="640" />

              <splash height="1334" platform="ios" src="res/screens/ios/Default-667h.png" width="750" />

              <splash height="2208" platform="ios" src="res/screens/ios/Default-736h.png" width="1242" />

              <splash height="1242" platform="ios" src="res/screens/ios/Default-Landscape-736h.png" width="2208" />

              <splash height="1536" platform="ios" src="res/screens/ios/Default-Landscape@2x~ipad.png" width="2048" />

              <splash height="768" platform="ios" src="res/screens/ios/Default-Landscape~ipad.png" width="1024" />

              <splash height="2048" platform="ios" src="res/screens/ios/Default-Portrait@2x~ipad.png" width="1536" />

              <splash height="1024" platform="ios" src="res/screens/ios/Default-Portrait~ipad.png" width="768" />

              <splash height="960" platform="ios" src="res/screens/ios/Default@2x~iphone.png" width="640" />

              <splash height="480" platform="ios" src="res/screens/ios/Default~iphone.png" width="320" />

          </platform>

          <plugin name="cordova-plugin-camera" spec="4.0.2" />

          <plugin name="cordova-plugin-file" spec="6.0.1" />

          <plugin name="cordova-plugin-geolocation" spec="4.0.1" />

          <plugin name="cordova-plugin-statusbar" spec="2.4.1" />

          <plugin name="cordova-plugin-whitelist" spec="1.3.3" />

          <plugin name="cordova-plugin-dialogs" spec="^2.0.1" />

          <plugin name="cordova-plugin-secure-storage" spec="^2.6.8" />

      </widget>