This commit is contained in:
poka 2022-02-22 09:27:10 +01:00
parent 981094ab0e
commit 3bec56fc09
4 changed files with 14 additions and 7 deletions

View File

@ -20,7 +20,7 @@ import 'package:get_storage/get_storage.dart';
import 'package:aes_ecb_pkcs5_flutter/aes_ecb_pkcs5_flutter.dart';
class SubstrateSdk with ChangeNotifier {
final List subNode = ['127.0.0.1:9944', '192.168.1.85:9944'];
final List subNode = ['127.0.0.1:9944', '192.168.1.45:9944'];
final bool isSsl = false;
final int ss58 = 42;

View File

@ -6,19 +6,21 @@ import FlutterMacOS
import Foundation
import connectivity_plus_macos
import package_info
import desktop_window
import package_info_plus_macos
import path_provider_macos
import printing
import sentry_flutter
import shared_preferences_macos
import window_size
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
ConnectivityPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlugin"))
FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin"))
DesktopWindowPlugin.register(with: registry.registrar(forPlugin: "DesktopWindowPlugin"))
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
PrintingPlugin.register(with: registry.registrar(forPlugin: "PrintingPlugin"))
SentryFlutterPlugin.register(with: registry.registrar(forPlugin: "SentryFlutterPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin"))
}

View File

@ -965,9 +965,11 @@ packages:
polkawallet_sdk:
dependency: "direct main"
description:
name: polkawallet_sdk
url: "https://pub.dartlang.org"
source: hosted
path: "."
ref: fixAndroidActivityVersion
resolved-ref: bcb33239d99605258361951f447ab097ff03208a
url: "git://github.com/poka-IT/sdk.git"
source: git
version: "0.4.1"
pool:
dependency: transitive

View File

@ -72,7 +72,10 @@ dependencies:
desktop_window: ^0.4.0
durt: ^0.1.6
package_info_plus: ^1.3.0
polkawallet_sdk: ^0.4.1
polkawallet_sdk: #^0.4.1 ## Wait for merging PR: https://github.com/polkawallet-io/sdk/pull/19
git:
url: git://github.com/poka-IT/sdk.git
ref: fixAndroidActivityVersion
flutter_icons:
android: "ic_launcher"