I have created ionic project as per the document in Ionic Deploy.
After I upload new snapshot to ‘dev’ channel I got console log as ‘update is available’.But the update is not downloading.
My code is like this.
$ionicDeploy.channel = 'dev'; $ionicDeploy.check().then(function(snapshotAvailable) { if (snapshotAvailable) { $ionicDeploy.info().then(function(info){ console.log("$ionicDeploy.info()",info) }) //When snapshotAvailable is true, you can apply the snapshot console.log("$ionicDeploy.download()",$ionicDeploy.download()); $ionicDeploy.download().then(function() { return $ionicDeploy.extract(); }).then(function() { return $ionicDeploy.load(); }); } });
And i got console logs as per the following image
My system informations are:-
Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 1.3.2
Ionic CLI Version: 1.7.15
Ionic App Lib Version: 0.7.2
OS:
Node Version: v6.9.2
Any one having same issue?