[PhoneGap Build] 1.5.0 Support

  • 1
  • Announcement
  • Updated 8 years ago
Hi all,

Today we're rolling out support for the Cordova (fka PhoneGap) 1.5.0 release on PhoneGap Build. You can now build apps for iOS, Android, BlackBerry, webOS and Symbian that target 1.5.0.

The 1.5.0 release is the first release of the project as Apache Cordova, rather than PhoneGap. Most of the JavaScript APIs should be the same. For PhoneGap Build users, you can still use:


<script src="phonegap.js"></script>


to get the appropriate JS code for each platform into your page; you can also write:


<script src="cordova.js"></script>


if you'd like to make the distinction more obvious.

If you're using the ChildBrowser plugin on PhoneGap Build for Android and iOS, please note that the 1.0.1 release is not compatible with Cordova 1.5.0 - please update your feature tags in your config.xml to the following:


<feature name="http://plugins.phonegap.com/ChildBrowser/2.0.0" />


If you wish to keep your app on the 1.4.1 release of PhoneGap, make sure you're using the ChildBrowser 1.0.1 tag.

Let us know how it works!

Cheers,
Andrew
PhoneGap Build
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes

Posted 8 years ago

  • 1
Photo of Chip Matthes

Chip Matthes

  • 1 Post
  • 0 Reply Likes
Great, that worked fine.

However, there's an Android bug in 1.5 that requires a patch to cordova.js (a file I don't have access to via PhoneGap Build). With some Android phones (DroidX for sure), ajax calls fail after the first few.

For the problem, see:

https://groups.google.com/forum/#!top...
http://groups.google.com/group/phoneg...#

For the patch, see:

https://groups.google.com/forum/#!top...

Can that patch be included in PhoneGap build?

Thanks!

--Chip
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
Good call Chip - I've patched Android 1.5.0 on PG Build with this change.
Photo of thomaskold

thomaskold

  • 2 Posts
  • 0 Reply Likes
You need to update the docs on build.phonegap.com, I just spent over 8 hours trying to figure out why my IPhone app did not work when I installed it on my IPhone.

If you want PhoneGap to be a success, you need to help the developers, not make them frustrated.

Thank you for a great product :)
Thomas (Denmark)
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
What exactly was confusing/unclear to you?
Photo of thomaskold

thomaskold

  • 2 Posts
  • 0 Reply Likes
It is unclear that you need to add this reference:
script src="cordova.js"

If you add your own or none it will compile, but not work when you install the app.
I finally found what I was looking for here, thank you :)
I just feel it needs to be in the docs/faq section.
Photo of lawgurl

lawgurl

  • 361 Posts
  • 14 Reply Likes
You're obviously new here because there have been talks about updates that you obviously haven't seen.

I'd suggest that you do what most people do when it comes to development. Search prior to complaining.

There are plenty of people around here who are willing to jump in and help others out around here, however, those who do a lot of complaining... don't get their questions answered by PhoneGap fans; users who have answers...

Just Sayin!