File tree Expand file tree Collapse file tree 6 files changed +614
-118
lines changed
Expand file tree Collapse file tree 6 files changed +614
-118
lines changed Original file line number Diff line number Diff line change 11<?xml version =' 1.0' encoding =' utf-8' ?>
2- <widget android-versionCode =" 106120" id =" fr.duniter.cesium" ios-CFBundleIdentifier =" org.duniter.cesium" version =" 1.6.13 " xmlns =" http://www.w3.org/ns/widgets" xmlns : android =" http://schemas.android.com/apk/res/android" xmlns : cdv =" http://cordova.apache.org/ns/1.0" >
2+ <widget android-versionCode =" 106120" id =" fr.duniter.cesium" ios-CFBundleIdentifier =" org.duniter.cesium" version =" 1.6.12 " xmlns =" http://www.w3.org/ns/widgets" xmlns : android =" http://schemas.android.com/apk/res/android" xmlns : cdv =" http://cordova.apache.org/ns/1.0" >
33 <name >Cesium</name >
44 <description >
55 An simple App for Duniter wallet
5858 <platform name =" android" >
5959 <preference name =" AndroidXEnabled" value =" true" />
6060 <preference name =" AndroidLaunchMode" value =" singleTask" />
61- <preference name =" android-minSdkVersion" value =" 19 " />
61+ <preference name =" android-minSdkVersion" value =" 22 " />
6262 <preference name =" android-targetSdkVersion" value =" 29" />
6363 <icon density =" ldpi" src =" resources/android/icon/drawable-ldpi-icon.png" />
6464 <icon density =" mdpi" src =" resources/android/icon/drawable-mdpi-icon.png" />
Original file line number Diff line number Diff line change 8989 },
9090 "devDependencies" : {
9191 "@ionic/cli" : " ^6.12.3" ,
92- "@ionic/v1-toolkit" : " 3.2.15" ,
92+ "@ionic/v1-toolkit" : " ^ 3.2.15" ,
9393 "@prantlf/gulp-jsonlint" : " ^2.4.0" ,
9494 "ansi-colors" : " ^4.1.1" ,
9595 "cordova" : " ^10.0.0" ,
96- "cordova-android" : " 9.0.0" ,
96+ "cordova-android" : " ^ 9.0.0" ,
9797 "cordova-clipboard" : " ^1.3.0" ,
9898 "cordova-ios" : " ^6.1.1" ,
9999 "cordova-osx" : " ^6.0.0" ,
223223 "node" : " >= 12.18.3" ,
224224 "yarn" : " >= 1.22.0"
225225 }
226- }
226+ }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ NODEJS_VERSION=12
2424# NODE_OPTIONS=--max-old-space-size=4096
2525
2626ANDROID_NDK_VERSION=19.2.5345600
27- ANDROID_SDK_VERSION=21.1.1
27+ ANDROID_SDK_VERSION=29.0.3
2828ANDROID_SDK_CLI_VERSION=6858069
2929ANDROID_SDK_ROOT=" ${HOME} /Android/Sdk"
3030ANDROID_ALTERNATIVE_SDK_ROOT=/usr/lib/android-sdk
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ source ${PROJECT_DIR}/scripts/env-android.sh
1717[[ $? -ne 0 ]] && exit 1
1818
1919APK_UNSIGNED_FILE=${ANDROID_OUTPUT_APK_RELEASE} /app-release-unsigned.apk
20- APK_SIGNED_FILE=${ANDROID_OUTPUT_APK_RELEASE} /app-release.apk
2120
2221cd ${PROJECT_DIR}
2322
@@ -32,34 +31,6 @@ if [[ ! -f "${APK_UNSIGNED_FILE}" ]]; then
3231 exit 1
3332fi
3433
35- # Check if signed
36- cd ${BUILD_TOOLS_DIR}
37- ./apksigner verify ${APK_UNSIGNED_FILE}
38-
39- # Not signed ? Do it !
40- if [[ $? -ne 0 ]]; then
41- echo " It seems that the APK file ${APK_UNSIGNED_FILE} is not signed !"
42- if [[ ! -f " ${KEYSTORE_FILE} " ]]; then
43- echo " ERROR: Unable to sign: no keystore file found at ${KEYSTORE_FILE} !"
44- exit 1
45- fi
46-
47- echo " Signing APK file ${APK_UNSIGNED_FILE} ..."
48- APK_SIGNED_FILE=${APK_DIR} /android-release-signed.apk
49-
50- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ${KEYSTORE_FILE} ${APK_UNSIGNED_FILE} Cesium
51-
52- BUILD_TOOLS_DIR=" ${ANDROID_SDK_ROOT} /build-tools/${ANDROID_SDK_VERSION} /"
53- cd ${BUILD_TOOLS_DIR}
54- ./zipalign -v 4 ${APK_UNSIGNED_FILE} ${APK_SIGNED_FILE}
55-
56- ./apksigner verify ${APK_SIGNED_FILE}
57- if [[ $? -ne 0 ]]; then
58- echo " Signing failed !"
59- exit 1
60- fi
61-
62- # Do file replacement
63- rm ${APK_UNSIGNED_FILE}
64- mv ${APK_SIGNED_FILE} ${APK_UNSIGNED_FILE}
65- fi
34+ # Sign APK file
35+ . ./script/release-android-sign.sh
36+ [[ $? -ne 0 ]] && exit 1
Original file line number Diff line number Diff line change 5353 "BLOCKS_ISSUERS_TITLE" : " Nombre de blocs calculés par membre" ,
5454 "BLOCKS_ISSUERS_LABEL" : " Nombre de blocs" ,
5555 "TX_DIVIDER" : " Analyse des transactions" ,
56- "TX_AMOUNT_TITLE" : " Volume des transactions" ,
56+ "TX_AMOUNT_TITLE" : " Volume des transactions {{currency|abbreviate}} " ,
5757 "TX_AMOUNT_PUBKEY_TITLE" : " Volume des transactions calculées par {{issuer | formatPubkey}}" ,
5858 "TX_AMOUNT_LABEL" : " Volume échangé" ,
5959 "TX_COUNT_TITLE" : " Nombre de transactions écrites" ,
You can’t perform that action at this time.
0 commit comments