Add duniter-g1.p2p.legal endpoint to list; update script build-apk

This commit is contained in:
poka 2021-02-03 00:50:58 +01:00
parent 4499f8c4fc
commit 231a82a470
2 changed files with 7 additions and 3 deletions

View File

@ -35,10 +35,10 @@ class HomeProvider with ChangeNotifier {
// print(_json);
// final _list = _json[];
// final _listEndpoints = ['https://g1.librelois.fr/gva'];
final _listEndpoints = [
'https://g1.librelois.fr/gva',
'https://duniter-gva.axiom-team.fr/gva'
'https://duniter-gva.axiom-team.fr/gva',
'https://duniter-g1.p2p.legal/gva'
];
final _endpoint = getRandomElement(_listEndpoints);
print('ENDPOINT: ' + _endpoint);

View File

@ -10,7 +10,11 @@ ori_app="app.apk"
echo "Nom du build final: ${APPNAME}-${VERSION}+${BUILD}.apk"
#flutter build apk --split-per-abi --build-name $VERSION --build-number $BUILD
## To compile Rust binding
# cargo br
echo "To compile Rust binding, exec: cargo br"
flutter clean
if [[ $1 == "bundle" ]]; then
flutter build appbundle --release --target-platform android-arm,android-arm64 --build-name $VERSION --build-number $BUILD