Skip to content
Snippets Groups Projects
Commit b3fc3e7a authored by poka's avatar poka
Browse files

bump polkawallet 0.5.4+4

parent 433452dc
Branches
Tags
No related merge requests found
Pipeline #34309 waiting for manual action
...@@ -35,7 +35,6 @@ class SubstrateSdk with ChangeNotifier { ...@@ -35,7 +35,6 @@ class SubstrateSdk with ChangeNotifier {
bool importIsLoading = false; bool importIsLoading = false;
int blocNumber = 0; int blocNumber = 0;
bool isLoadingEndpoint = false; bool isLoadingEndpoint = false;
String debugConnection = '';
String transactionStatus = ''; String transactionStatus = '';
final int initSs58 = 42; final int initSs58 = 42;
Map<String, int> currencyParameters = {}; Map<String, int> currencyParameters = {};
...@@ -595,7 +594,7 @@ class SubstrateSdk with ChangeNotifier { ...@@ -595,7 +594,7 @@ class SubstrateSdk with ChangeNotifier {
? [getDuniterCustomEndpoint()] ? [getDuniterCustomEndpoint()]
: getDuniterBootstrap(); : getDuniterBootstrap();
int timeout = 10000; int timeout = 15;
if (sdk.api.connectedNode?.endpoint != null) { if (sdk.api.connectedNode?.endpoint != null) {
await sdk.api.setting.unsubscribeBestNumber(); await sdk.api.setting.unsubscribeBestNumber();
...@@ -603,13 +602,13 @@ class SubstrateSdk with ChangeNotifier { ...@@ -603,13 +602,13 @@ class SubstrateSdk with ChangeNotifier {
isLoadingEndpoint = true; isLoadingEndpoint = true;
notifyListeners(); notifyListeners();
final res = await sdk.api.connectNode(keyring, listEndpoints).timeout( final resNode = await sdk.api.connectNode(keyring, listEndpoints).timeout(
Duration(milliseconds: timeout), Duration(seconds: timeout),
onTimeout: () => null, onTimeout: () => null,
); );
isLoadingEndpoint = false; isLoadingEndpoint = false;
notifyListeners(); notifyListeners();
if (res != null) { if (resNode != null) {
nodeConnected = true; nodeConnected = true;
// await getSs58Prefix(); // await getSs58Prefix();
...@@ -641,7 +640,6 @@ class SubstrateSdk with ChangeNotifier { ...@@ -641,7 +640,6 @@ class SubstrateSdk with ChangeNotifier {
// snackNode(ctx, true); // snackNode(ctx, true);
} else { } else {
nodeConnected = false; nodeConnected = false;
debugConnection = res.toString();
notifyListeners(); notifyListeners();
homeProvider.changeMessage("noDuniterEndointAvailable".tr(), 0); homeProvider.changeMessage("noDuniterEndointAvailable".tr(), 0);
if (!myWalletProvider.checkIfWalletExist()) snackNode(homeContext, false); if (!myWalletProvider.checkIfWalletExist()) snackNode(homeContext, false);
......
...@@ -1200,10 +1200,10 @@ packages: ...@@ -1200,10 +1200,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: plugin_platform_interface name: plugin_platform_interface
sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.6" version: "2.1.7"
pointycastle: pointycastle:
dependency: "direct main" dependency: "direct main"
description: description:
...@@ -1216,11 +1216,11 @@ packages: ...@@ -1216,11 +1216,11 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." path: "."
ref: ff98a117e86060a91113107f31355a17ccfb346c ref: gecko-fixes-3
resolved-ref: ff98a117e86060a91113107f31355a17ccfb346c resolved-ref: ac7347e907ca30766eedb9e15583ebc20916d56c
url: "https://github.com/poka-IT/sdk.git" url: "https://github.com/poka-IT/sdk.git"
source: git source: git
version: "0.5.3" version: "0.5.4+4"
pool: pool:
dependency: transitive dependency: transitive
description: description:
...@@ -1599,10 +1599,10 @@ packages: ...@@ -1599,10 +1599,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_ios name: url_launcher_ios
sha256: "4ac97281cf60e2e8c5cc703b2b28528f9b50c8f7cebc71df6bdf0845f647268a" sha256: bba3373219b7abb6b5e0d071b0fe66dfbe005d07517a68e38d4fc3638f35c6d3
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "6.2.0" version: "6.2.1"
url_launcher_linux: url_launcher_linux:
dependency: transitive dependency: transitive
description: description:
...@@ -1743,34 +1743,34 @@ packages: ...@@ -1743,34 +1743,34 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: webview_flutter name: webview_flutter
sha256: "392c1d83b70fe2495de3ea2c84531268d5b8de2de3f01086a53334d8b6030a88" sha256: "42393b4492e629aa3a88618530a4a00de8bb46e50e7b3993fedbfdc5352f0dbf"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.4" version: "4.4.2"
webview_flutter_android: webview_flutter_android:
dependency: transitive dependency: transitive
description: description:
name: webview_flutter_android name: webview_flutter_android
sha256: "8b3b2450e98876c70bfcead876d9390573b34b9418c19e28168b74f6cb252dbd" sha256: "8326ee235f87605a2bfc444a4abc897f4abc78d83f054ba7d3d1074ce82b4fbf"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.10.4" version: "3.12.1"
webview_flutter_platform_interface: webview_flutter_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: webview_flutter_platform_interface name: webview_flutter_platform_interface
sha256: "812165e4e34ca677bdfbfa58c01e33b27fd03ab5fa75b70832d4b7d4ca1fa8cf" sha256: "6d9213c65f1060116757a7c473247c60f3f7f332cac33dc417c9e362a9a13e4f"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.9.5" version: "2.6.0"
webview_flutter_wkwebview: webview_flutter_wkwebview:
dependency: transitive dependency: transitive
description: description:
name: webview_flutter_wkwebview name: webview_flutter_wkwebview
sha256: a5364369c758892aa487cbf59ea41d9edd10f9d9baf06a94e80f1bd1b4c7bbc0 sha256: accdaaa49a2aca2dc3c3230907988954cdd23fed0a19525d6c9789d380f4dc76
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.9.5" version: "3.9.4"
win32: win32:
dependency: transitive dependency: transitive
description: description:
......
...@@ -3,12 +3,12 @@ description: Pay with G1. ...@@ -3,12 +3,12 @@ description: Pay with G1.
# The following line prevents the package from being accidentally published to # The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages. # pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 0.1.1+58 version: 0.1.1+58
environment: environment:
sdk: '>=2.12.0 <3.0.0' sdk: ">=2.12.0 <3.0.0"
dependencies: dependencies:
flutter: flutter:
...@@ -47,8 +47,8 @@ dependencies: ...@@ -47,8 +47,8 @@ dependencies:
# url: https://github.com/polkawallet-io/sdk.git # url: https://github.com/polkawallet-io/sdk.git
# ref: develop # ref: develop
url: https://github.com/poka-IT/sdk.git url: https://github.com/poka-IT/sdk.git
# ref: gecko-fixes-2 ref: gecko-fixes-3
ref: ff98a117e86060a91113107f31355a17ccfb346c # ref: ff98a117e86060a91113107f31355a17ccfb346c
dots_indicator: ^3.0.0 dots_indicator: ^3.0.0
connectivity_plus: ^3.0.2 connectivity_plus: ^3.0.2
image_cropper: ^3.0.0 image_cropper: ^3.0.0
...@@ -81,7 +81,7 @@ dev_dependencies: ...@@ -81,7 +81,7 @@ dev_dependencies:
dart_code_metrics: ^5.0.1 dart_code_metrics: ^5.0.1
icons_launcher: icons_launcher:
image_path: 'assets/icon/gecko_flat.png' image_path: "assets/icon/gecko_flat.png"
platforms: platforms:
android: android:
enable: true enable: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment