Unable to get updates with ionic deploy


#1

Hi all!
I did all steps to get ionic deploy, but looks like me code not getting to then method…

$ionicDeploy.check().then(function(response) {

my code looks like:

app.run(function ($rootScope, $ionicPlatform, $httpBackend, localStorageService,$ionicDeploy) {
$ionicPlatform.ready(function () {
    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
    // for form inputs)
    if (window.cordova && window.cordova.plugins.Keyboard) {
        cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
    }
    if (window.StatusBar) {
        // org.apache.cordova.statusbar required
        StatusBar.styleDefault();
    }

// Check for updates
$ionicDeploy.check().then(function(response) {

thnx for help!