mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-07 03:19:31 +00:00
build.gradle fix + remove platform_device_id package
This commit is contained in:
parent
a317b32fbe
commit
d189330e7e
3 changed files with 10 additions and 12 deletions
|
@ -75,7 +75,6 @@ android {
|
|||
|
||||
shrinkResources false
|
||||
minifyEnabled false
|
||||
useProguard false
|
||||
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue