cordova - PhoneGap App Crashes while installing in my iPhone.. -
i have created app using phonegap 2.7.0 version.i have build .ipa file , installed it.app crashed, using phonegap 1.6.0 version it's working well. no crashes on installation.please me. config.xml
<?xml version="1.0" encoding="utf-8"?> <!-- --> <widget> <preference name="allowinlinemediaplayback" value="false" /> <preference name="autohidesplashscreen" value="true" /> <preference name="backupwebstorage" value="cloud" /> <preference name="disallowoverscroll" value="false" /> <preference name="enablelocation" value="false" /><!-- deprecated --> <preference name="enableviewportscale" value="false" /> <preference name="fadesplashscreen" value="true" /> <preference name="fadesplashscreenduration" value=".25" /> <preference name="hidekeyboardformaccessorybar" value="false" /> <preference name="keyboarddisplayrequiresuseraction" value="true" /> <preference name="keyboardshrinksview" value="false" /> <preference name="mediaplaybackrequiresuseraction" value="false" /> <preference name="showsplashscreenspinner" value="true" /> <preference name="suppressesincrementalrendering" value="false" /> <preference name="topactivityindicator" value="gray" /> <content src="index.html" /> <plugins> <plugin name="device" value="cdvdevice" /> <plugin name="logger" value="cdvlogger" /> <plugin name="compass" value="cdvlocation" /> <plugin name="accelerometer" value="cdvaccelerometer" /> <plugin name="camera" value="cdvcamera" /> <plugin name="networkstatus" value="cdvconnection" /> <plugin name="contacts" value="cdvcontacts" /> <plugin name="echo" value="cdvecho" /> <plugin name="file" value="cdvfile" /> <plugin name="filetransfer" value="cdvfiletransfer" /> <plugin name="geolocation" value="cdvlocation" /> <plugin name="notification" value="cdvnotification" /> <plugin name="media" value="cdvsound" /> <plugin name="capture" value="cdvcapture" /> <plugin name="splashscreen" value="cdvsplashscreen" /> <plugin name="battery" value="cdvbattery" /> <plugin name="globalization" value="cdvglobalization" /> <plugin name="inappbrowser" value="cdvinappbrowser" /> </plugins> <access origin="*" /> </widget>
can please provide code of config.xml file.i have faced similar problem.i forgot write new version of phonegap config.xml file , build using new version , in config.xml file there old version. make conflict application , crashed. note:
- there many upgradation there phonegap 2.7.0 , create issues if use go straight 2.7.0 1.6.0. may cause issues times if don't have errors in code.hope help.
ok.good. put widget tag , try rebuild application.
<preference name="phonegap-version" value="2.7.0" />
Comments
Post a Comment