Ionic Cloud Deploy Service

Hi, i have some problem with the Ionic Cloud Deploy Service.

I make a Update from the App, the console from Chrome says me:

  • Update found
  • Update Download
  • Update Extract
  • Reopen App

But still i get the Old version from the App?

What i make wrong?

I use the Code from the Docs

Hi @azad11,

I’m facing this same issue.

From the documentation:

If a new snapshot is available, you can download and extract it, which will set it as the active snapshot. The next time the app is loaded, the new snapshot will be used.

This is not working for me.

I can find the update, download, and extract it. But, when I restart my app, the new snapshot is not been loaded.

There is my code:

this.deploy.channel = 'dev';
this.deploy.check().then((snapshotAvailable: boolean) => {
  if (snapshotAvailable)
  {
    // Download snapshot
    this.deploy.download().then(() => {
      // Extract snapshot
      return this.deploy.extract();
    });
  }
  else
  {
    // Get device snapshots
    this.deploy.getSnapshots().then((snapshots) => {
      console.log(snapshots);
    });
  }
});

And my system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: 1.9.0
ios-sim version: 5.0.11
OS: macOS Sierra
Node Version: v7.1.0
Xcode version: Xcode 8.1 Build version 8B62

Facing this same issue. can someone help please?

Also having this issue.

Can you explain how you’re getting your code on your device? Maybe we’re doing different things.