Commit edc69620 authored by Bertrand Presles's avatar Bertrand Presles

Better splashscreens. Updated development_guide to indicate to use node v6 and cordova 9

parent f36afc34
......@@ -98,6 +98,9 @@
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
<edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
<string>To scan QRCode</string>
</edit-config>
......
......@@ -16,14 +16,14 @@ To build Cesium, you will have to:
> Then reload your terminal, for instance by executing the commande `bash`
- Configure NodeJS to use a version 5: (**WARNING**: upper version will NOT work !)
- Configure NodeJS to use a version 6: (**WARNING**: upper version will NOT work !)
```
nvm install 5
nvm install 6
```
- Installing node.js build tools:
```
npm install -g gulp bower@1.8.0 cordova@6.5.0 ionic@1.7.16
npm install -g gulp bower@1.8.0 cordova@9.0.0 ionic@1.7.16
```
## Get the source code and dependencies
......
resources/ios/splash/Default-667h.png

92.8 KB | W: | H:

resources/ios/splash/Default-667h.png

48.8 KB | W: | H:

resources/ios/splash/Default-667h.png
resources/ios/splash/Default-667h.png
resources/ios/splash/Default-667h.png
resources/ios/splash/Default-667h.png
  • 2-up
  • Swipe
  • Onion skin
resources/splash.png

60.8 KB | W: | H:

resources/splash.png

104 KB | W: | H:

resources/splash.png
resources/splash.png
resources/splash.png
resources/splash.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -141,10 +141,8 @@ angular.module('cesium', ['ionic', 'ionic-material', 'ngMessages', 'pascalprecht
ionicReady().then(function() {
if (ionic.Platform.isIOS()) {
if(window.StatusBar) {
// needed to fix Xcode 9 / iOS 11 issue with blank space at bottom of webview
// https://github.com/meteor/meteor/issues/9041
StatusBar.overlaysWebView(false);
StatusBar.overlaysWebView(true);
// fix font color not white on iOS 11+
StatusBar.styleLightContent();
}
}
});
......
......@@ -94,7 +94,7 @@ angular.module("cesium.config", [])
}
},
"version": "1.4.6",
"build": "2019-09-07T13:19:34.949Z",
"build": "2019-09-07T17:13:37.741Z",
"newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new"
})
......
......@@ -510,6 +510,15 @@ function HomeController($scope, $state, $timeout, $ionicHistory, $translate, UIU
$scope.locales = angular.copy(csSettings.locales);
$scope.enter = function(e, state) {
if (ionic.Platform.isIOS()) {
if(window.StatusBar) {
// needed to fix Xcode 9 / iOS 11 issue with blank space at bottom of webview
// https://github.com/meteor/meteor/issues/9041
StatusBar.overlaysWebView(false);
StatusBar.overlaysWebView(true);
}
}
if (state && state.stateParams && state.stateParams.error) { // Error query parameter
$scope.error = state.stateParams.error;
$scope.node = csCurrency.data.node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment