Quick Tips for Upgrading to PhoneGap 1.0 with OneDayApp

trailerLast week the PhoneGap team released version 1.0.  I’m a big fan of the PhoneGap platform because it lets me build amazing apps for mobile devices and keep my client side web skills sharp.  No need to re-learn java or Objective-C.  I’m happy to say that the code that comes with the OneDayApp training series is 100% compatible with the 1.0 release!

 

[wp_eStore_buy_now_fancy id=6]

If you have the OneDayApp series and the code for Local Note that it comes with here are some tips for 1.0.

Local Note Code PhoneGap 1.0 Upgrade Tips

1. You don’t have to do anything.  If you don’t want to upgrade your app to 1.0 then you don’t have to change anything. This is, in fact, the easiest option.  The code from OneDayApp should continue to work with the older builds of PhoneGap that you had installed.

2. The cleanest path to upgrading your app is the following set of steps.

A. Make sure Xcode is closed when you install the latest PhoneGap. (I Recommend an uninstall first. )

B. Install PhoneGap 1.0.  Follow those instructions. Smile

C. Create a new project from scratch.

D. Migrate your apps files over to the new project. Note that new directory layout and location of the icons and splash screens.  It’s OK to overwrite the sample files.

E. Point your script files to the new Phonegap script library.

F. Don’t forget to minimize the phonegap script when you ship your app. The newer builds of Phonegap are not pre-minimized for you.

G. Make sure you migrate your plist file settings, enable location, turn off acceleration detection (if not in use), and only enable the services your app is using.

H. Update the plist settings for bundle ID and name before you submit to the store again.

I. Don’t forget to test on a real device as per usual.

If you have an issue with OneDayApp and PhoneGap 1.0 don’t hesitate to let me know.

Thanks,

Josh

Why am I Recording OneDayApp?

n624372045_1718296_6740I’d probably have my new app for sale if I wasn’t using it as the subject of my training series.  But one of the things that really stuck with me after reading Rework was the concept that you can sell the byproducts of building your product.

In the 37Signals case they sell the books from creating their own product management/development process.  I figured, in my case I’d try selling some “how”s in the form of training.  One year from now it will be interesting to see if the App or the Training makes more money.  Smile

To put it another way… there’s always a dog under the desk you could sell with your work.  Chapter 3 has taken a little longer than I expected, but is almost in the bag.

Do it on camera to increase your satisfaction

IMG_1904I highly recommend working on your next project like your being filmed for training.  Better yet… actually record what you are doing and try sharing it.  You’ll learn a TON and you’ll focus on fit and finish in ways you never thought about before.

Working on the OneDayApp series has dramatically improved the quality of what I’m doing with my next application.  There are all sorts of corners I would be cutting, steps I’d be skipping, and personal education I’d miss out on in the final product if I wasn’t building it partially to teach people. 

It can be valuable at any stage.  If you record your code you’ll find yourself caring about things like variable names in new ways.  Once you have something to demo you’ll see all sorts of rough edges that you’d never see if you just used it.  There’s simply nothing that beats actually “going to the tape” to get a glimpse of what other people see.