Upgrading Cordova Framework - iphone

I was having the same issue with respect to receiving an error code 4 when trying to add a contact on my device running on iOS 6.1 (although it worked on the simulators). In reading a similar post (Phonegap ContactError when saving contact on iOS 6) I saw that you should update the Cordova framework to 2.0+ to accomodate for iOS 6. I updated Xcode to 4.6, but was not sure how to go about upgrading Cordova (or updating its integration withing XCode). I'm currently running on version 1.7.0 for cordova and downloaded the 2.5 release. Is the upgrade incremental or can I make a version jump? Can anyone guide me on how to go about upgrading my Cordova framework version? Thanks in advance.

From Cordova 1.7 to Cordova 2.5, there are no migration path. I would recommend to:
Backup your full mac os system
Uninstall Cordova 1.7
Install Cordova 2.5
Create a new XCode project according the 2.5 cordova tutorial
Copy and paste your html5 code from your old to your new project
Fix the issues
It is painful, but it is a clean migration path.

Related

While publing app on playstore got : Please upgrade to Billing Library version 3 or newer to publish this app

While publing app on playstore got : Error We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app.
Okay I got solution , I just updated all deprecated libraries.
I was using Flutter 1.22.4, I migrated my project to Flutter 2.5.3 (Latest one as of nov-2021) everything solved.
I faced the same issue, here is some workaround worked for me.
In your android>app>build.gradle add following line in dependencies.
implementation ('com.android.billingclient:billing:4.0.0'){ force = true }

Ionic versions - understanding difference between ionic cli version and ionic core version

I am starting to work on an existing Ionic 4 application. In that project #ionic/core version is 4.8.1. To start, I installed ionic CLI and noticed its version to be 5.4.15. I was not able to find easily if I can install an older ionic CLI version.
However, I feel CLI version and the application version need not be the same always. So, now, I would like to know how these things are related. Also, for me to run my existing project, can I use the same version of ionic CLI.
I wanted to mention that all ionic-native/**** references are 5.10.0 which I think should fine as #ionic/core and #ionic/angular is the version which says what my ionic project version is.

which version is/are suitable for a production app for ionic CLI and Ionic framework?

As ionic 4 is released, I am wondering if I should start my new project in ionic 4 and ionic 4.9 (CLI) or any stable version you guys would suggest to prevent any issues ?
I think you can start your project with Ionic 4.0. With this final release, your app will perform better than version 3. Your doubt is good because there are still some bugs this is release but Ionic version 4.0 will allow you to update your application easily with the newer version. Ionic Framework team is working really hard for bug-free Ionic 4.0.

Smartface 4.5 IOS publish Node.js compability

I am trying to publish with new version smartface 4.5 ios app but it gives an error "Your Node.js (0.10.35) is not compatible with Smartface app studio. Please check your configuration and try again" error. Which version of Node.js has to be used? Also during installation it installed Node.js need to install manually?
Smartface supports 0.12 as min version of nodejs. I'm using 5.4.1, you can use any version higher than or equal to 0.12.
I have solved by replacing https://nodejs.org/download/release/v5.4.1/ ..

Using core-plugins in phonegap build 2.9

I'm building a simple app for Windows Phone 8 (with limits me to PG 2.9, since PG 3.0 is not yet supporting WP8).
When I include one of core plugins (3rd party ones work just fine) in my config.xml, I get "Unable to create app: plugin unsupported" error.
Changanging PG version to 3.0 fixes problem, and shows included plugin under "Plugins" tab.
So the question is: how to use core plugins in PGB 2.9?
You don't need to use the plugin tag in your config.xml file for 2.9.0. That's why you're getting the error.
We're planning on rolling out support for Windows Phone 8 in PhoneGap Build by the end of the week so you can use 3.0.0 and not have this issue.
=Ryan
ryan#adobe.com