Я пытаюсь выполнить Ионное развертывание. И кажется, что все работает нормально вплоть до загрузки приложения снова после получения обновления. Я предоставил скриншоты. Сообщите мне, есть ли что-нибудь еще, что я могу предоставить. Спасибо.
Ошибка консоли после завершения загрузки и извлечения приложения, а затем она пытается загрузить его снова.
Ошибка на моей WebView
ионный исходный код для метода загрузки в Deploy сценариев
Моя реализация Javascript:
$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);
screen.lockOrientation('portrait');
}
if(window.StatusBar) {
StatusBar.styleDefault();
}
// Check for updates
$ionicDeploy.check().then(function(response) {
hide();
console.log(response);
// response will be true/false
if (response) {
show('Downloading update...');
// Download the updates
$ionicDeploy.download().then(function() {
hide();
show('Extracting update...');
// Extract the updates
$ionicDeploy.extract().then(function() {
hide();
// Load the updated version
$ionicDeploy.load();
}, function(error) {
show('Error extracting new update...');
setTimeout(function(){
hide();
}, 1500);
// Error extracting
}, function(progress) {
show('Extract progress...' + progress);
// setTimeout(function(){
// hide();
// }, 5000);
// Do something with the zip extraction progress
// $scope.extraction_progress = progress;
});
}, function(error) {
show('Error downloading...');
setTimeout(function(){
hide();
}, 1500);
// Error downloading the updates
}, function(progress) {
show('Download progress...' + progress);
// setTimeout(function(){
// hide();
// }, 5000);
// Do something with the download progress
// $scope.download_progress = progress;
});
}
},
function(error) {
// Error checking for updates
show('Error checking for updates');
setTimeout(function(){
hide();
}, 1500);
});
});
})
Я сделал все выше, и я все еще получаю это в тот момент, когда он загружается, и он пытается загрузить приложение снова. [Снимок экрана об ошибке] (https://www.dropbox.com/s/irlnsn55nu6tore/Screenshot%202015-07-24%2018.00.09.png?dl=0) –