Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 2.7.0
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (20 sloc) 0.796 kb

Upgrading the Application

The application is based on the Apache Cordova Hello World example.

1. Update the Source

cp /incubator-cordova-app-hello-world/www www/

Do not replace www/config.xml.

Do not replace www/img/logo.png.

2. Update index.html

Replace <h1>Apache Cordova</h1> with <h1>PhoneGap</h1>.

3. Update config.xml

  1. Update app version to latest PhoneGap version.

    <widget xmlns     = ""
        xmlns:gap = ""
        id        = "com.phonegap.hello-world"
        version   = "2.2.0">
  2. Update PhoneGap version.

    <preference name="phonegap-version" value="x.x.x" />

4. Commit

$ git commit -am "[app] Version x.x.x"

5. Tag

$ git tag x.x.x
Jump to Line
Something went wrong with that request. Please try again.