diff --git a/android/app/build.gradle b/android/app/build.gradle index f63174ff5..d26a13d3e 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -75,7 +75,6 @@ android { shrinkResources false minifyEnabled false - useProguard false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } diff --git a/lib/ionia/ionia_service.dart b/lib/ionia/ionia_service.dart index 51e23ad28..9b9d64151 100644 --- a/lib/ionia/ionia_service.dart +++ b/lib/ionia/ionia_service.dart @@ -6,7 +6,6 @@ import 'package:cake_wallet/.secrets.g.dart' as secrets; import 'package:cake_wallet/ionia/ionia_api.dart'; import 'package:cake_wallet/ionia/ionia_gift_card.dart'; import 'package:cake_wallet/ionia/ionia_category.dart'; -import 'package:platform_device_id/platform_device_id.dart'; class IoniaService { IoniaService(this.secureStorage, this.ioniaApi); @@ -112,15 +111,16 @@ class IoniaService { required String currency}) async { final username = (await secureStorage.read(key: ioniaUsernameStorageKey))!; final password = (await secureStorage.read(key: ioniaPasswordStorageKey))!; - final deviceId = await PlatformDeviceId.getDeviceId; - return ioniaApi.purchaseGiftCard( - requestedUUID: deviceId!, - merchId: merchId, - amount: amount, - currency: currency, - username: username, - password: password, - clientId: clientId); + // final deviceId = await PlatformDeviceId.getDeviceId; + // return ioniaApi.purchaseGiftCard( + // requestedUUID: deviceId!, + // merchId: merchId, + // amount: amount, + // currency: currency, + // username: username, + // password: password, + // clientId: clientId); + throw UnimplementedError();// platform_device_id package removed } // Get Current User Gift Card Summaries diff --git a/pubspec_base.yaml b/pubspec_base.yaml index 248d70a7d..1b9752f16 100644 --- a/pubspec_base.yaml +++ b/pubspec_base.yaml @@ -68,7 +68,6 @@ dependencies: # device_display_brightness: ^0.0.6 screen_brightness: ^0.2.2 workmanager: ^0.5.1 - platform_device_id: ^1.0.1 wakelock: ^0.6.2 flutter_mailer: ^2.0.2 device_info_plus: 8.1.0