Skip to content
Snippets Groups Projects
Commit e411be64 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

Prepare release 1.6.2

parent 79f1167c
No related branches found
No related tags found
No related merge requests found
# Version v1.6.0
## All platforms
- [fix] Fix some ES translations
### Desktop
- [enh] Add a splash screen
### Android
- [enh] Fix Android 10 secure storage
### Firefox and Chrome extension
- [fix] Fix profile avatar and page's pictures
### Build from source
Before building Cesium, please launch this commands:
```bash
cd cesium
# Update ionic CLI to latest
npm remove ionic
npm i -g @ionic/cli
# Remove JS dependencies
rm -rf node_modules
# Clean Yarn cache, then install deps
yarn cache clean && yarn install
# Remove Cordova plugins
rm -rf plugins
# Re install Cordova plugins
cd scripts
./ionic-update.sh
```
\ No newline at end of file
...@@ -27,7 +27,7 @@ To build Cesium, you will have to: ...@@ -27,7 +27,7 @@ To build Cesium, you will have to:
3. Installing node build tools, as global dependencies: 3. Installing node build tools, as global dependencies:
```bash ```bash
npm install -g yarn gulp cordova ionic npm install -g yarn gulp cordova @ionic/cli
``` ```
## Get the source code and dependencies ## Get the source code and dependencies
...@@ -40,20 +40,21 @@ To build Cesium, you will have to: ...@@ -40,20 +40,21 @@ To build Cesium, you will have to:
2. Install project dependencies: 2. Install project dependencies:
```bash ```bash
cd cesium cd cesium
yarn install yarn
``` ```
3. Installing Cordova plugins (required to build Android and iOS artifacts): 3. Installing Cordova plugins (required to build Android and iOS artifacts):
```bash ```bash
export JAVA_HOME=/path/to/jdk-8 export JAVA_HOME=/path/to/jdk-8
export PATH=$JAVA_HOME/bin:$PATH
ionic cordova prepare ionic cordova prepare
``` ```
This should create new directories `platforms/android` and `platforms/ios`. This should create new directories `platforms/android` and `platforms/ios`.
> To remind: check that your command line is configured: > As a reminder: check that your command line is configured correctly:
> - You must place yourself in the directory of the application: `cd cesium` > - You must place yourself in the directory of the application: `cd cesium`
> - and be configured for NodeJs v10: `nvm use 10` (please check using the command `node --version`) > - and working with NodeJs **v10**: `nvm use 10` (please check using the command `node --version`)
## Prepare Cesium default config ## Prepare Cesium default config
......
...@@ -80,4 +80,3 @@ if [[ -d "${PROJECT_DIR}/.local/android" ]]; then ...@@ -80,4 +80,3 @@ if [[ -d "${PROJECT_DIR}/.local/android" ]]; then
else else
echo "No directory '${PROJECT_DIR}/.local/android' found. Please create it, with a file 'release-signing.properties' for release signing" echo "No directory '${PROJECT_DIR}/.local/android' found. Please create it, with a file 'release-signing.properties' for release signing"
fi fi
...@@ -8,7 +8,7 @@ if [[ "_" == "_${PROJECT_DIR}" ]]; then ...@@ -8,7 +8,7 @@ if [[ "_" == "_${PROJECT_DIR}" ]]; then
fi; fi;
# Preparing Android environment # Preparing Android environment
. ${PROJECT_DIR}/scripts/env-global.sh . ${PROJECT_DIR}/scripts/env-android.sh
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
exit 1 exit 1
fi fi
...@@ -16,7 +16,7 @@ fi ...@@ -16,7 +16,7 @@ fi
cd ${PROJECT_DIR} cd ${PROJECT_DIR}
echo "Updating Ionic..." echo "Updating Ionic..."
npm update -g ionic@latest npm update -g @ionic/cli
echo "Updating Cordova..." echo "Updating Cordova..."
npm update -g cordova@latest npm update -g cordova@latest
...@@ -24,8 +24,13 @@ if [[ $? -ne 0 ]]; then ...@@ -24,8 +24,13 @@ if [[ $? -ne 0 ]]; then
exit 1 exit 1
fi fi
echo "Updating Cordova plugins..." if [[ ! -d "${PROJECT_DIR}/plugins" ]]; then
ionic cordova platform update android --save echo "Installing Cordova plugins..."
if [[ $? -ne 0 ]]; then ionic cordova prepare
exit 1
fi fi
#echo "Updating Cordova plugins..."
#ionic cordova platform update android --save
#if [[ $? -ne 0 ]]; then
# exit 1
#fi
yarn.lock 0 → 100644
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment