mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Add Billing API and Google API availability error dialogs.
This commit is contained in:
committed by
Greyson Parrelli
parent
0713a88ddb
commit
2a90809ba3
@@ -44,7 +44,7 @@ class LogSectionRemoteBackups : LogSection {
|
||||
output.append("\n -- Subscription State\n")
|
||||
|
||||
val backupSubscriptionId = InAppPaymentsRepository.getSubscriber(InAppPaymentSubscriberRecord.Type.BACKUP)
|
||||
val hasGooglePlayBilling = runBlocking { AppDependencies.billingApi.isApiAvailable() }
|
||||
val hasGooglePlayBilling = runBlocking { AppDependencies.billingApi.getApiAvailability().isSuccess }
|
||||
val inAppPayment = SignalDatabase.inAppPayments.getLatestInAppPaymentByType(InAppPaymentType.RECURRING_BACKUP)
|
||||
|
||||
output.append("Has backup subscription id: ${backupSubscriptionId != null}\n")
|
||||
|
||||
Reference in New Issue
Block a user