Add duniter-g1.p2p.legal endpoint to list; update script build-apk
This commit is contained in:
parent
4499f8c4fc
commit
231a82a470
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue