Skip to content

Commit ac09d80

Browse files
authored
Merge pull request #16 from shankari/release_v120
Changes for release 1.2.0
2 parents f785c1b + 7cceccf commit ac09d80

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<widget android-versionCode="7" id="edu.berkeley.eecs.embase" ios-CFBundleVersion="7" version="1.1.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
2+
<widget android-versionCode="8" id="edu.berkeley.eecs.embase" ios-CFBundleVersion="8" version="1.2.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
33
<name>emTripLog</name>
44
<description>
55
Base version of the e-mission app, intended for customization by studies.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "edu.berkeley.eecs.embase",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"displayName": "emTripLog",
55
"cordova": {
66
"platforms": [

www/js/splash/updatecheck.js

+16-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,21 @@ angular.module('emission.splash.updatecheck', ['emission.plugin.logger',
153153
reloadAlert.then(function(res) {
154154
uc.redirectPromise();
155155
});
156-
});
156+
}).catch(function(err) {
157+
$rootScope.isDownloading = false;
158+
extractPop.close();
159+
$ionicPopup.alert({
160+
title: "Extraction error",
161+
message: JSON.stringify(err)
162+
});
163+
})
164+
}).catch(function(err) {
165+
$rootScope.isDownloading = false;
166+
downloadPop.close();
167+
$ionicPopup.alert({
168+
title: "Download error",
169+
message: JSON.stringify(err)
170+
});
157171
});
158172
};
159173

@@ -198,6 +212,7 @@ angular.module('emission.splash.updatecheck', ['emission.plugin.logger',
198212
})
199213
})
200214
}).catch(function(err) {
215+
$rootScope.isDownloading = false;
201216
Logger.log('Ionic Deploy: Unable to check for updates'+err);
202217
console.error('Ionic Deploy: Unable to check for updates',err)
203218
})

0 commit comments

Comments
 (0)