Does anyone know where to find article or document on how to migrate from phonegap build 3.5.0 to phonegap build 5.2 and above ?

  • 1
  • Question
  • Updated 4 years ago
I can't seem to find any articles or documentation on how to migrate apps from phonegap build 3.5.0 or below to phonegap build 5.2.

Appreciate if anyone could assist or point me to any good articles on this.
Photo of Jansen Cheah Saik Yew

Jansen Cheah Saik Yew

  • 2 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
No. Not yet.

However, if you have delivered a *Phonegap Build* (a cloud-based build system) before to an App store, then you need to make two (2) fundamental changes.

Make the follow additions to your config.xml

1) <preference name="phonegap-version" value="cli-5.2.0" />

SEE: Docs -> Configuring -> Preferences ->Multi-Platform

2) Add the whitelist plugin
<plugin name="cordova-plugin-whitelist" source="npm" spec="1.1.0" />

Follow the documentation, and read this worksheet:
HOW TO apply the Cordova/Phonegap whitelist system

If you have any questions on any of this, please do not hesitate to ask.
Jesse
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Also:
- use plugins from npm
- splashscreen plugin now required
- statusbar plugin for iPad
- config-file element 'CFBundleShortVersionString ' for iOS
- in certain cases build with gradle engine
- android-versionCode preference when using gradle
- new syntax while omiting gap: namespace
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Petra,
this is more than i have, but it is correct. However, I have a question: where is android-versionCode documented?

FWIW: this may be enough for a blog post.

Jesse
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
It's not. It has been posted twice: once here and once on the other forum (by Ryan).
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Okay. Thanks.