Friday, 3 April 2015

Downgrade Cordova to available version using cli

To downgrade cordova version first you have to do

This is done in MAC

Yellow background------->commands

1)view available versions

eisvishnu:~ Ebiz$ npm view cordova versions

2)Unbuild the available cordova
eisvishnu:~ Ebiz$ sudo npm remove -g cordova

2)And finally Install Cordova 

eisvishnu:~ Ebiz$ sudo npm install -g cordova@3.4.1-0.1.0  


Start of the Phonegap:

install npm 
https://nodejs.org/
install cordova
eisvishnu:~ Ebiz$ sudo npm install -g cordova@3.4.1-0.1.0  
create app
eisvishnu:~ Ebiz$ cordova create "appname--->testapp " "id--> com.ebiz.testapp" TESTAPP
Go to App Path
eisvishnu:~ Ebiz$ cd "app name----->testapp"
Add Platform
eisvishnu:~ Ebiz$ cordova platform add android
eisvishnu:~ Ebiz$ cordova platform add ios
Build the App
eisvishnu:~ Ebiz$ cordova build android
eisvishnu:~ Ebiz$ cordova build ios
Now Add Plugins
And finally Build the app 
eisvishnu:~ Ebiz$ cordova build android
eisvishnu:~ Ebiz$ cordova build ios

No comments:

Setting Up Multiple App Targets in Xcode from a Single Codebase

 To create two different apps (like "Light" and "Regular") from the same codebase in Xcode, you can follow these steps b...