mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 03:49:43 +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
|
shrinkResources false
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
useProguard false
|
|
||||||
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
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_api.dart';
|
||||||
import 'package:cake_wallet/ionia/ionia_gift_card.dart';
|
import 'package:cake_wallet/ionia/ionia_gift_card.dart';
|
||||||
import 'package:cake_wallet/ionia/ionia_category.dart';
|
import 'package:cake_wallet/ionia/ionia_category.dart';
|
||||||
import 'package:platform_device_id/platform_device_id.dart';
|
|
||||||
|
|
||||||
class IoniaService {
|
class IoniaService {
|
||||||
IoniaService(this.secureStorage, this.ioniaApi);
|
IoniaService(this.secureStorage, this.ioniaApi);
|
||||||
|
@ -112,15 +111,16 @@ class IoniaService {
|
||||||
required String currency}) async {
|
required String currency}) async {
|
||||||
final username = (await secureStorage.read(key: ioniaUsernameStorageKey))!;
|
final username = (await secureStorage.read(key: ioniaUsernameStorageKey))!;
|
||||||
final password = (await secureStorage.read(key: ioniaPasswordStorageKey))!;
|
final password = (await secureStorage.read(key: ioniaPasswordStorageKey))!;
|
||||||
final deviceId = await PlatformDeviceId.getDeviceId;
|
// final deviceId = await PlatformDeviceId.getDeviceId;
|
||||||
return ioniaApi.purchaseGiftCard(
|
// return ioniaApi.purchaseGiftCard(
|
||||||
requestedUUID: deviceId!,
|
// requestedUUID: deviceId!,
|
||||||
merchId: merchId,
|
// merchId: merchId,
|
||||||
amount: amount,
|
// amount: amount,
|
||||||
currency: currency,
|
// currency: currency,
|
||||||
username: username,
|
// username: username,
|
||||||
password: password,
|
// password: password,
|
||||||
clientId: clientId);
|
// clientId: clientId);
|
||||||
|
throw UnimplementedError();// platform_device_id package removed
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get Current User Gift Card Summaries
|
// Get Current User Gift Card Summaries
|
||||||
|
|
|
@ -68,7 +68,6 @@ dependencies:
|
||||||
# device_display_brightness: ^0.0.6
|
# device_display_brightness: ^0.0.6
|
||||||
screen_brightness: ^0.2.2
|
screen_brightness: ^0.2.2
|
||||||
workmanager: ^0.5.1
|
workmanager: ^0.5.1
|
||||||
platform_device_id: ^1.0.1
|
|
||||||
wakelock: ^0.6.2
|
wakelock: ^0.6.2
|
||||||
flutter_mailer: ^2.0.2
|
flutter_mailer: ^2.0.2
|
||||||
device_info_plus: 8.1.0
|
device_info_plus: 8.1.0
|
||||||
|
|
Loading…
Reference in a new issue