Search Posts

Category: reload

Why does Ionic Deploy add ionicCacheBuster to all of my files and calls?

I have an Ionic v1 app with ionic deploy. When my app starts up in the angular.run() block I have some code checking for a snapshot. $ionicDeploy.check().then(function (snapshotAvailable) { if (snapshotAvailable) { $ionicDeploy.download().then(function () { return $ionicDeploy.extract().then(function() { $ionicPopup.show({ title: ‘Update Available’, subTitle: ‘An update was just downloaded. Would you like to restart your app to use the latest features?’, buttons: [ { text: ‘Cancel’ }, { text: ‘Restart’, onTap: function(e) { $ionicDeploy.load(); //no code […]