Cordova (1.5) to PhoneGap (1.4.1) downgrade - ios

I'm having tons of problems with PG1.5 for plugin incompatibilities and I would like to downgrade, does anybody knows how to do it on xcode? There is only an installer and I wouldn't like to mess everything up.
Also I can't seem to find the package for 1.4.1 anywhere to download. It's really driving me crazy.
Alternatively, if someone knows of a version of the low latency audio plugin that works with 1.5 I would be glad.
Thank you for your time

You can install 1.4.1 and older versions from github, just download the one tagged 1.4.1
https://github.com/phonegap/phonegap/tags

the package from where u installed it also had an uninstaller. use that to remove cordova. then u can happily continue to use phonegap's earlier versions.
also both can co-exist together if u want.

I would suggest you to upgrade to 1.6.0RC1 rather than a downgrade...
Just go here https://github.com/apache/incubator-cordova-ios
Build a .dmg file and upgrade to 1.6.0 and enjoy :)

Related

Bump Cordova adal to a more recent version of the native library

I am using the cordova adal library, which uses version 2.3.1 of the native ios library. It looks like there has been over a year of updates since version 2.3.1 of the native library.
I am interested in forking the cordova adal repo and bumping from 2.3.1 to a more recent version. I've never had to update a cordova library, so I was hoping someone here may be able to help answer a couple questions:
Would I face any breaking changes if I tried to fork and upgrade
cordova adal to use a more recent version of this library?
Does anyone know if there is a reason why the cordova adal library
has not been upgraded from 2.3.1?
This will be a first for me, so my plan was to use this commit as a guide. This was how the cordova adal team upgraded to 2.3.1.
Spoke to some of the native developers and confirmed there would be some potential breaking changes. I do not know why an upgrade was not made though.

Upgrading Cordova 1.9 to 2.0 version

I need to upgrade my application which is using Cordova 1.8 version to Cordova 2.0 version. I followed the steps mentioned in the http://cordova.apache.org/docs/en/2.8.0/guide_upgrading_ios_index.md.html. My application's running for 1.9 but when am trying to upgrade it to 2.0 version am not able to find 'Preprocessor Macro' in build setting.
Also I am not able to find 'CordovaLib' folder, but in the 10th step they have mentioned related to PreprocessorMacro which am not able to find.
As you main motivation seems to be up to date with the last version of Cordova, I would recommend to create a new clean project with Cordova 2.8 and import your html files in the www folder.
Upgrading version by version is painful and you will not get any benefits from it. However, you might not get any performance improvement but you will get a better support from the community.

Aptana project types not available

I have recently installed the Aptana plugin for Eclipse as I wish to learn Ruby and Ruby on Rails, it doesn't seem to have changed anything. Usually when I install a plugin of the sort, there will be new project types under the "New Project" menu, but none appeared. I checked tutorials online and they suggest that there should be new project types as seen in the image below, taken from a tutorial.
Instead, I see the same options I did before.
I wondered if the plugin didn't install, but when I try to install it again, It says it's already installed. I am using Eclipse Juno Service Release 2 with a 64-bit Windows 7 operating system and the version of the plugin from the URL given on the Aptana website (http://download.aptana.com/studio3/plugin/install). Any help would be much appreciated.
I don't know why that's happening. Here's a suggestion for how to get around it.
You might be better off installing and running the standalone Aptana Studio product. It would be a separate installation on your desktop, and thus wouldn't have the same settings as any Eclipse installation you already had, and would be more space on your hard drive. But probably there isn't much you would share between Ruby/Rails development and other development, and it's not that much space.
I've done it both ways - installed Aptana into an Eclipse I've already got, and installed the standalone version - and now I would only do standalone.
I don't know what was wrong in the first place, but after I installed the Aptana plugin, I installed the PyDev plugin. I think this removed the Aptana plugin because of conflicting dependencies (I don't know why it wouldn't tell me, though). I tried installing the Aptana plugin again and it told me there was a conflicting dependency with the PyDev plugin, so I uninstalled it and reinstalled the Aptana plugin. It works now.

Upgrade Phonegap for iOS (from 1.4.1 to latest)

I would like to know if anyone has experience in upgrading phonegap. Would like to get some help.
I have an iOS Phonegap-based project that uses phonegap 1.4.1.
I need to update it to the latest version. The latest version is currently 2.2.0
The steps that described in the phone gap document only tells us how to upgrade from one version to the other, but it doesn't help me in upgrade phone gap from a very old version to the latest one.
http://docs.phonegap.com/en/2.2.0/guide_upgrading_ios_index.md.html#Upgrading%20Cordova%20iOS
I can see three BIG changes from 1.4.1 to the latest version.
From 1.4.1 to 1.5.0, PhoneGap.framework has been renamed to Cordova.framework
From 1.9.0 to 2.0.0, Cordova.framework has been removed, instead it uses CordovaLib as a sub-project.
From 2.0.0 to 2.1.0, Automatic Reference Counting (ARC) is introduced to CordovaLib
I am not sure what is the best approach for me to upgrade my old phonegap, I don't feel confident to jump straight from 1.4.1 to 2.2.0, by given the fact that there is no documents/tutorials to follow.
I am thinking to upgrade the phonegap from 1.4.1 to 1.9 first, and then upgrade 1.9.0 to 2.0.0 and to 2.2.0. But it seems a big job.
Please give me some suggestion on it, or is there anyone come across this?
Thanks in advance.
My recommendation is:
Create a totally new project.
Copy your www assets into the new www
Refer to the new cordova .js file in your index.html
Re-add your Plugins (make sure the plugins support the new Cordova version)
Update your Cordova.plist settings to reflect what you want, see the Project Settings on http://docs.cordova.io
Update your whitelist, see the Whitelist Guide on http://docs.cordova.io
It's really depends on how much your app hooks into the phonegap's "native" calls,..
If it's mostly your own codes, I'd just start a new project and copy the html folder over, find and replace the mentions phonegap.js to cordova.js. Chances are, the app will work, if it doesn't, it should be a minor fix.
Or check out https://build.phonegap.com/ - phonegap's cloud base builder.

netbeans - plugins require HTML Editor Library to be installed

I am attempting set up Netbeans 7.1 as my RoR editor. When trying to install plugins I get the following error:
Some plugins require plugin HTML Editor Library to be installed. The
plugin HTML Editor Library is requested in version >= 1.21 (release
version 1) but only 2.0.1 (of release version different from 1) was
found. The following plugin is affected:       
Embedded Ruby (RHTML)
I looked for this HTML plugin so I could install it but I can't seem to find it anywhere.
It seems that the Ruby on Rails plugin has some problem (i.e. does not support) Netbeans 7.1 and 7.2. But it works with version 6.9 and 7.
Reference: http://plugins.netbeans.org/plugin/38549/ruby-and-rails
If I'm not wrong this is the lovely 207075 from the bugtracker: https://netbeans.org/bugzilla/show_bug.cgi?id=207075
In fact there's a workaround for this issue:
http://blog.enebo.com/2012/01/workaround-for-ruby-support-on-netbeans.html
good luck.
If you want to install it on a newly downloaded Netbeans (7.1 in my case), you should first go to Tools > Plugins, select Updates Tab and install the updates. Then, after restart, you'll go to the mentioned above Plugins, and now you will able to install all the required updates (HTML Editor will be among them.)
Lastl thing, as #skripted already mentioned, just install the plugin by following the instructions on this page.

Resources