5 Replies Latest reply on Mar 29, 2017 11:37 AM by kerrishotts

    update my config.xml results into application error

    chalidm58306117

      Hi all,

       

      I am new to phonegap and have a short question. Recently i started using phonegap to convert my website to an app.

      So after doing some research i found out about phonegap and found a example file with an config.xml

       

      before it worked perfectly but i want to update from 3.3.0 to cli-6.3.0

      after changing this the app doesnt open the website any more.

       

      I get the message.

       

      Application error.

       

      this is my config.xml file

       

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

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

         

          <name>A Game of Two Halves</name>

          <description>Latest from the Last Word on Football</description>

          <author email="chris@" href="http://www.agameoftwohalves.com">AGOTH Webmaster</author>

       

       

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

          <feature name="http://api.phonegap.com/1.0/device" />

         

          <preference name="orientation"                value="portrait" />       <!-- all: default means both landscape and portrait are enabled -->

         

          <plugin name="cordova-plugin-device" />

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

          <plugin name="cordova-plugin-media-capture" />

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

          <plugin name="cordova-plugin-file-transfer" />

          <plugin name="cordova-plugin-splashscreen" />

          <plugin name="cordova-plugin-contacts" />

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

          <plugin name="cordova-plugin-inappbrowser" />

          <plugin name="cordova-plugin-dialogs" />

          <plugin name="cordova-plugin-vibration" />

          <plugin name="cordova-plugin-network-information" />

       

       

        <icon src="icon.png" />

       

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

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

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

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

       

       

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

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

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

          <icon src="res/icons/android/drawable-xdpi/Icon.png" gap:platform="android" gap:density="xhdpi" />

       

          <gap:splash src="splash.png" />

         

          <gap:splash src="res/screen/android/drawable-ldpi/splash.png"  gap:platform="android" gap:density="ldpi" />

          <gap:splash src="res/screen/android/drawable-mdpi/splash.png"  gap:platform="android" gap:density="mdpi" />

          <gap:splash src="res/screen/android/drawable-hdpi/splash.png"  gap:platform="android" gap:density="hdpi" />

          <gap:splash src="res/screen/android/drawable-xdpi/splash.png" gap:platform="android" gap:density="xhdpi" />

         

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

          <gap:splash src="res/screen/ios/Default@2x.png" gap:platform="ios" width="680" height="960" />

          <gap:splash src="res/screen/ios/Deafult-568h-2x.png" gap:platform="ios" width="640" height="1136" />

       

       

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

          <access origin="*" subdomains="true" />

      </widget>