diff --git a/dist/MobileFeatures.mpk b/dist/MobileFeatures.mpk index 5f0c500..cdd24ef 100644 Binary files a/dist/MobileFeatures.mpk and b/dist/MobileFeatures.mpk differ diff --git a/package-lock.json b/package-lock.json index 47dc73c..c2a5d6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "MobileFeatures", - "version": "1.4.3", + "version": "1.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 60c4091..66c92ec 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "MobileFeatures", - "version": "1.5.0", + "version": "1.5.1", "description": "Features for Mobile", "license": "Apache 2", - "author": "J.W. Lagendijk ", + "author": "Mendix", "private": true, "dependencies": {}, "devDependencies": { diff --git a/src/MobileFeatures/widget/plugins/statusbar.js b/src/MobileFeatures/widget/plugins/statusbar.js index 8be84be..f932b3d 100644 --- a/src/MobileFeatures/widget/plugins/statusbar.js +++ b/src/MobileFeatures/widget/plugins/statusbar.js @@ -33,7 +33,17 @@ define([ StatusBar.hide(); } if (StatusBar.overlaysWebView) { + StatusBar.overlaysWebView(this.statusbarOverlayWebView); + + // Because of the bug in CKWEBView, we need to flick with timeout + // If overlay is false + if (!this.statusbarOverlayWebView){ + setTimeout(()=> { + StatusBar.overlaysWebView(!this.statusbarOverlayWebView); + StatusBar.overlaysWebView(this.statusbarOverlayWebView); + }, 1000) + } } } else { console.warn(this.id + "._enableStatusbar: cannot find StatusBar"); diff --git a/src/package.xml b/src/package.xml index 0484915..4019d37 100644 --- a/src/package.xml +++ b/src/package.xml @@ -1,6 +1,6 @@ - +