Skip to content

Commit 6f4dcd3

Browse files
author
lkstnr
committed
closes #754 - config not being fetched
1 parent 99e5476 commit 6f4dcd3

File tree

3 files changed

+102
-101
lines changed

3 files changed

+102
-101
lines changed

package-lock.json

+76-76
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,25 @@
2626
"@angular/platform-browser-dynamic": "^7.2.15",
2727
"@angular/router": "^7.2.15",
2828
"@asymmetrik/ngx-leaflet": "^5.0.2",
29-
"@ionic-native/app-availability": "^5.15.1",
30-
"@ionic-native/calendar": "^5.15.1",
31-
"@ionic-native/call-number": "^5.15.1",
32-
"@ionic-native/contacts": "^5.15.1",
33-
"@ionic-native/core": "^5.15.1",
34-
"@ionic-native/device": "^5.15.1",
35-
"@ionic-native/email-composer": "^5.15.1",
36-
"@ionic-native/file": "^5.15.1",
37-
"@ionic-native/geolocation": "^5.15.1",
38-
"@ionic-native/http": "^5.15.1",
39-
"@ionic-native/in-app-browser": "^5.15.1",
40-
"@ionic-native/keyboard": "^5.15.1",
41-
"@ionic-native/launch-navigator": "^5.15.1",
42-
"@ionic-native/network": "^5.15.1",
43-
"@ionic-native/safari-view-controller": "^5.15.1",
44-
"@ionic-native/splash-screen": "^5.15.1",
45-
"@ionic-native/status-bar": "^5.15.1",
46-
"@ionic/angular": "^4.11.2",
47-
"@ionic/core": "^4.11.2",
29+
"@ionic-native/app-availability": "^5.16.0",
30+
"@ionic-native/calendar": "^5.16.0",
31+
"@ionic-native/call-number": "^5.16.0",
32+
"@ionic-native/contacts": "^5.16.0",
33+
"@ionic-native/core": "^5.16.0",
34+
"@ionic-native/device": "^5.16.0",
35+
"@ionic-native/email-composer": "^5.16.0",
36+
"@ionic-native/file": "^5.16.0",
37+
"@ionic-native/geolocation": "^5.16.0",
38+
"@ionic-native/http": "^5.16.0",
39+
"@ionic-native/in-app-browser": "^5.16.0",
40+
"@ionic-native/keyboard": "^5.16.0",
41+
"@ionic-native/launch-navigator": "^5.16.0",
42+
"@ionic-native/network": "^5.16.0",
43+
"@ionic-native/safari-view-controller": "^5.16.0",
44+
"@ionic-native/splash-screen": "^5.16.0",
45+
"@ionic-native/status-bar": "^5.16.0",
46+
"@ionic/angular": "^4.11.3",
47+
"@ionic/core": "^4.11.3",
4848
"@ionic/storage": "^2.2.0",
4949
"@ngx-translate/core": "^11.0.1",
5050
"@ngx-translate/http-loader": "^4.0.0",
@@ -66,7 +66,7 @@
6666
"cordova-plugin-geolocation": "^4.0.2",
6767
"cordova-plugin-inappbrowser": "^3.1.0",
6868
"cordova-plugin-ionic-keyboard": "^2.2.0",
69-
"cordova-plugin-ionic-webview": "^4.1.2",
69+
"cordova-plugin-ionic-webview": "^4.1.3",
7070
"cordova-plugin-network-information": "^2.0.2",
7171
"cordova-plugin-safariviewcontroller": "^1.6.0",
7272
"cordova-plugin-splashscreen": "^5.0.3",
@@ -88,7 +88,7 @@
8888
"leaflet-easybutton": "^2.4.0",
8989
"leaflet-rotatedmarker": "^0.2.0",
9090
"leaflet-search": "^2.9.8",
91-
"luxon": "^1.20.0",
91+
"luxon": "^1.21.1",
9292
"moment": "^2.24.0",
9393
"mx.ferreyra.callnumber": "~0.0.2",
9494
"ngx-order-pipe": "^2.0.4",
@@ -115,9 +115,9 @@
115115
"@angular/language-service": "^7.2.15",
116116
"@compodoc/compodoc": "^1.1.11",
117117
"@ionic/angular-toolkit": "~1.5.1",
118-
"@types/jasmine": "^3.4.4",
118+
"@types/jasmine": "^3.4.6",
119119
"@types/jasminewd2": "^2.0.8",
120-
"@types/node": "^12.11.7",
120+
"@types/node": "^12.12.6",
121121
"braces": "^3.0.2",
122122
"codelyzer": "^5.2.0",
123123
"jasmine-core": "~3.4.0",
@@ -130,7 +130,7 @@
130130
"protractor": "~5.4.2",
131131
"ts-node": "^8.4.1",
132132
"tslint": "~5.17.0",
133-
"typescript": "^3.2.4"
133+
"typescript": "3.2.4"
134134
},
135135
"description": "An Ionic project",
136136
"cordova": {

src/app/pages/home/home.page.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ export class HomePage extends AbstractPage implements OnInit {
7979
}
8080
}
8181

82-
checkAppUpdate() {
82+
async checkAppUpdate() {
8383
const remoteConfigUrl = this.config.webservices.endpoint.config.url;
8484

85+
await this.nativeHTTP.setSSLCertMode('nocheck');
8586
this.nativeHTTP.get(remoteConfigUrl, {}, {}).then(async response => {
8687
const remoteConfig: IConfig = JSON.parse(response.data);
8788
if (remoteConfig && remoteConfig.appVersion) {

0 commit comments

Comments
 (0)