From 16d42d7f5f06684574fc91044e38013b7007220b Mon Sep 17 00:00:00 2001 From: poka Date: Wed, 25 May 2022 09:41:48 +0200 Subject: [PATCH] fix: Android 12 compatibility; Remove late cesiumSeed; --- android/app/build.gradle | 1 + lib/providers/my_wallets.dart | 2 -- pubspec.yaml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 799e480..4afa9c5 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -79,4 +79,5 @@ flutter { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation 'androidx.work:work-runtime-ktx:2.7.0' } diff --git a/lib/providers/my_wallets.dart b/lib/providers/my_wallets.dart index 81a36bc..0c4a4b8 100644 --- a/lib/providers/my_wallets.dart +++ b/lib/providers/my_wallets.dart @@ -1,4 +1,3 @@ -import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'dart:async'; import 'package:gecko/globals.dart'; @@ -11,7 +10,6 @@ class MyWalletsProvider with ChangeNotifier { List listWallets = []; late String pinCode; late String mnemonic; - late Uint8List cesiumSeed; int? pinLenght; int? getCurrentChest() { diff --git a/pubspec.yaml b/pubspec.yaml index 29c3b2d..2a652f6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ description: Pay with G1. # 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 -version: 0.0.6+2 +version: 0.0.6+3 environment: sdk: '>=2.12.0 <3.0.0'