Hi,
I have this code running in a controller and the retuned free disk space is 0.
Is this correct or is there something wrong with the value
$ionicPlatform.ready(function() {
$cordovaFile.getFreeDiskSpace()
.then(function (success) {
$scope.debugMessages.push({name:'success:'+success});
}, function (error) {
$scope.debugMessages.push({name:'error:'+error});
});
});
The same code seems to fail when using the Ionic View APP and for now my safari debugger doesn’t connect to my phone. Not sure why
Thank you