Migration from PhoneGap Build... voltbuilder.json and config.xml

I’m come from PhoneGap Build and I’m trying to replace Adobe’s service with yours.

About “voltbuilder.json”:

  1. Where can I find these informations (“androidAlias” and “androidDname”)?
    "androidAlias": "key0",
    "androidDname": "cn=myname, ou=mygroup, o=mycompany, c=mycountry"

On PGB I have a “android.jks” file, but I don’t remember how I generated it (it’s been several years since I did it).

  1. Is necessary to change manually the platform on “voltbuilder.json” every time I need to create the package or can I insert both at the same time?
    "platform": "ios,android"

  2. Same thing for “release”… Do I need to change manually “debug” with “release”?
    "release": "debug"

  3. Where can I find the serial number?
    "serial": "XXX-XXX-XXX"

About the config.xml

  1. In the current file used with PGB I have these “widget” informations in the top:
    <?xml version='1.0' encoding='utf-8'?>
    <widget xmlns = "http://www.w3.org/ns/widgets"
    xmlns:gap = "http://phonegap.com/ns/1.0"
    xmlns:android = "http://schemas.android.com/apk/res/android"
    id = "it.myapp.mobile"
    version = ""
    versionCode = "4221"
    ios-CFBundleVersion="" >

Are they still necessary?


  1. AndroidAlias: This gets defined when you create your Android signing key. key0 is a common value for this, but yours may be different. Only required for release builds.
    androidDname: Used when creating a release build if androidKeystore is not supplied. You can substitute your own values here, or use the default.

  2. For now, yes. Once we have queueing working (coming soon) we’ll be able to do both in one run.

  3. Yes.

  4. serial is no longer required - we used it for the early beta testers.

The widget information is all valid. This is used by Cordova to help read your project.

(Thanks for the good questions - we’ve made updated to the docs as a result)

1 Like

I’ve tried to upload (iOS - debug) but I received this error:
“serial” or “email” not found in voltbuilder.json.

Give it another try. Last minute glitch on the server.

Ok, thanks now it works.

However, I’ve two problems.

  1. none of these “InAppBrowser” links works (last version of the plugin, 4.0.0):
    <li data-icon="false"><a href="#" onclick="cordova.InAppBrowser.open('https://www.mydomain.com/assets/app/about/index.php','_blank','location=no,EnableViewPortScale=yes,closebuttoncaption=CLOSE');">About us</a></li>

  2. when I open the App the first time, no authorisation message for push notifications is shown to me.
    I’m using OneSignal with the setup for PGB:
    Do I need to use another library to setup?

These are a separate issue. Would you mind opening them in a new topic?