andrewmcgivery / ionic-ion-imageCacheFactory

A factory to preload images for your Ionic app.
75 stars 26 forks source link

Then is never called. Hangs the application. #6

Open anonrig opened 8 years ago

anonrig commented 8 years ago

.then is never called, also the failure function. Therefore unable to continue.

Saved or Image cache failed never written to console.

$ImageCacheFactory.Cache([
    $scope.latestPhoto + '',
    $scope.currentUser.profile_picture + ''
])
.then(function() {
    console.log('saved');
    $rootScope.hideSpinner();
}, function(a) {
    console.log('Image cache failed', a);
    $rootScope.hideSpinner();
});
andrewmcgivery commented 8 years ago

Do you have a specific test case replicating this issue?

BioPhoton commented 8 years ago

Any progress on this issue?

DaDanny commented 8 years ago

not really, will prepare a codepen in the next days @BioPhoton