From cecbc96c1747e361b97e2aa886ee2c9b39f05421 Mon Sep 17 00:00:00 2001 From: Ghislain Loaec Date: Tue, 3 Nov 2015 16:14:33 +0100 Subject: [PATCH] Attempts to fix iOS bugs : statusbar + external link --- README.md | 2 ++ config.xml | 16 ++++++++++++++-- plugins/android.json | 7 +++++++ www/index.html | 6 +++++- 4 files changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 13b4ee6..c3b1421 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Install cordovas plugins: phonegap plugin add cordova-plugin-file-transfer phonegap plugin add cordova-plugin-zip phonegap plugin add cordova-plugin-whitelist + phonegap plugin add cordova-plugin-statusbar phonegap plugin add cordova-plugin-inappbrowser # optional If plugin registry server seems to be down :'( use git instead ;) @@ -34,6 +35,7 @@ If plugin registry server seems to be down :'( use git instead ;) phonegap plugin add https://github.com/apache/cordova-plugin-file-transfer.git phonegap plugin add https://github.com/MobileChromeApps/cordova-plugin-zip.git phonegap plugin add https://github.com/apache/cordova-plugin-whitelist.git + phonegap plugin add https://github.com/apache/cordova-plugin-statusbar.git phonegap plugin add https://github.com/apache/cordova-plugin-inappbrowser.git # optional ## Assets Management diff --git a/config.xml b/config.xml index 7914ddc..6420699 100644 --- a/config.xml +++ b/config.xml @@ -14,8 +14,16 @@ - + + + + + + + + UIStatusBarStyleLightContent + @@ -23,6 +31,9 @@ + + + @@ -58,7 +69,7 @@ - + @@ -68,4 +79,5 @@ + diff --git a/plugins/android.json b/plugins/android.json index aa7d7a6..2f30de5 100644 --- a/plugins/android.json +++ b/plugins/android.json @@ -33,6 +33,10 @@ { "xml": "", "count": 1 + }, + { + "xml": "", + "count": 1 } ], "/widget": [ @@ -70,6 +74,9 @@ }, "cordova-plugin-zip": { "PACKAGE_NAME": "com.cadoles.momo" + }, + "cordova-plugin-statusbar": { + "PACKAGE_NAME": "com.cadoles.momo" } }, "dependent_plugins": {} diff --git a/www/index.html b/www/index.html index 6507c61..70da7b5 100644 --- a/www/index.html +++ b/www/index.html @@ -29,8 +29,12 @@ + + style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' + 'unsafe-eval'">