Just started seriously trying to get Appium (http://appium.io) running and functionally testing Cordova apps like Encryptr here.
It’s just a start, I have many more tests to write, but it sure does look cool watching your app being automated.
I see a lot of confusion still about the difference and relationship between Cordova and PhoneGap.
TL;DR: If you don’t need to use the cloud build service at PhoneGap Build, just use the Cordova CLI tools, not the PhoneGap ones.
Lemme see if I can start with the penny tour.
In the beginning, there was PhoneGap. It was an amazing project by a little company called Nitobi in Canada. It was open source, and it was good.
Then the little company and the name PhoneGap was bought by Adobe. Adobe did not buy the actual PhoneGap codebase, just the people that worked on it, and the name. The actual open source project was donated to the Apache Software Foundation.
So now the open source project needed a new name. After a couple of false starts, eventually they came up with “Cordova” – the name of the street the Nitobi offices had originally been on in Vancouver.
For a bit over a year, “PhoneGap” was just the Adobe binary distribution of the Apache open source project “Cordova” – you could think of PhoneGap as Safari to Cordova’s WebKit.
In version 3.x of Cordova – and therefore PhoneGap – a shift was made towards heavy use of a Node-based command line interface (CLI). It handles everything from creation of the project, installing plugins, and finally building and even running the app. It’s awesome, by the way, and if you haven’t made the switch away from the shackles of IDEs like Xcode and Eclipse, I heartily encourage you to give it a try.
Anyway… at the PhoneGap Day US conference, back in July of 2013 in Portland, we released the 3.0.0 version of Cordova. At the same conference, a variation of the Cordova CLI was launched called the PhoneGap CLI. The first split in actual functionality between the two had finally arrived.
The PhoneGap CLI is a similar-but-different variation on the Cordova CLI. It does much of the same things and even uses the Cordova CLI under the hood. The biggest difference lies in its connection to Adobe’s cloud build service called PhoneGap Build. The PhoneGap CLI allows you to – from the command line – create and build apps using that service. You don’t need the SDKs for the various platforms installed on your machine.
However, aside from some small syntax differences – and a couple missing features, if I am to be honest – the use of PhoneGap Build is the only difference at the time of this article. So as I said in the TL;DR above, my advice is that if you don’t need to use the cloud build service at PhoneGap Build, just use the Cordova CLI tools, not the PhoneGap ones.
More importantly, whatever you do, do not “mix and match” in a single project. This will only make a big mess.
I hope that clears it up a bit… if not, please feel free to send me an email, or come and hit me up me in the #phonegap channel on Freenode IRC.
Actual blog posts with actual sentences and not just bullet points coming very very soon, though.
I was working on a new actual post (as opposed to just posting slides like I have been lately) and realised that my grunt-init-cordova slides never made it onto the blog. I have just totally updated grunt-init-cordova (as part of writing the upcoming post) and there will be more about it there.
Slides from my talk at the Melbourne Mobile meet up - August 20th, 2013.
So, I decided to advocate for “none of the above”
Slides from my talk at the Melbourne Mobile meet up - May 21st 2013.
This is my attempt at a non-techical talk about the path that led to the current Android version of the open source SpiderOak mobile client app.
__AUTHOR_NAME__(“Author”) and Contributors
All rights reserved.
The “Free as in Hugs” License
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must…
The 4ZzZfm app was my first ever mobile app. It was then my first PhoneGap / Cordova app when I ported it.
It’s in desperate need of an update if for no other reason than that the iOS version does not support the iPhone 5 screen size.
I am thinking of trying to consolidate the codebases (currently it is a codebase for each of its two platforms) and maybe even expand it to cover other platforms beyond iOS and Android.
Questions I am going to have to look at over the next couple of weeks:
I’ll try to keep updating the blog as I go with it (since I haven’t been using the blog for anything else lately with Pixfor’s own update on hold).
Cordova-CLI is doing some great things to make working with multiple platforms in one Cordova project easier. But...
I’d like to take a moment to share a bad user experience with you. Why? I believe it’s important to diagnose the...
In the post directly below I discussed the ramifications of bad form design on the overall customer experience. I compared...