Download and Install Update

I am attempting to use the new Ionic Pro deploy implementation, using the following code:

window.IonicCordova.deploy.check(appId, channelName, (res: any) => {
    if (res && res == 'true') {
        window.IonicCordova.deploy.download(appId, () => {
            window.IonicCordova.deploy.extract(appId, () => {
                window.IonicCordova.deploy.redirect(appId, () => {}, () => {});
            }, (e: any) => { });
        }, (e: any) => { });
    }
}, (e: any) => { });

However, when running on the device, the debug console gives me the following result:

2017-10-26 17:08:48.234957+0100 LogIt-In[42384:895251] version is: 0.0.207
2017-10-26 17:08:48.235243+0100 LogIt-In[42384:895251] uuid is:
2017-10-26 17:08:48.235411+0100 LogIt-In[42384:895251] channel is: preproduction
2017-10-26 17:08:48.235553+0100 LogIt-In[42384:895251] JSON Error: (null)
2017-10-26 17:08:48.235713+0100 LogIt-In[42384:895251] Response: (null)
2017-10-26 17:08:48.236321+0100 LogIt-In[42384:895251] JSON: {
    error =     {
        link = "<null>";
        message = "404: Not Found";
        type = NotFound;
    };
    meta =     {
        "request_id" = "<null>";
        status = 404;
        version = "2.0.0-sdlc-beta.0";
    };
}
2017-10-26 17:08:48.236589+0100 LogIt-In[42384:895251] compatible: False
2017-10-26 17:08:48.236737+0100 LogIt-In[42384:895251] available: False
2017-10-26 17:08:48.236893+0100 LogIt-In[42384:895251] Refusing update due to incompatible binary version
2017-10-26 17:08:48.237017+0100 LogIt-In[42384:895251] update is false

My ionic.io version of the app exists, and is built and ‘deployed’ to the preproduction channel. There are no version restrictions.

Is this 404 error normal functionality? And, what am I doing wrong (or should I be looking for) to have the app update.

Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these:

You can - and should - contact support at http://ionicframework.com/support#support


What is your ionic info output?

ionic info result:

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.15.2
    ionic (Ionic CLI) : 3.15.2

global packages:

    cordova (Cordova CLI) : 7.0.1 

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms  : android 6.2.3 ios 4.5.1
    Ionic Framework    : ionic-angular 3.7.1

System:

    ios-deploy : 1.9.2 
    ios-sim    : 5.0.13 
    Node       : v6.9.1
    npm        : 5.4.2 
    OS         : macOS Sierra
    Xcode      : Xcode 9.0 Build version 9A235 

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro