mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 13:48:52 +01:00
Log billing response when not ok
This commit is contained in:
@@ -34,6 +34,7 @@ import com.moez.QKSMS.manager.AnalyticsManager
|
|||||||
import io.reactivex.Observable
|
import io.reactivex.Observable
|
||||||
import io.reactivex.subjects.BehaviorSubject
|
import io.reactivex.subjects.BehaviorSubject
|
||||||
import io.reactivex.subjects.Subject
|
import io.reactivex.subjects.Subject
|
||||||
|
import timber.log.Timber
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
import javax.inject.Singleton
|
import javax.inject.Singleton
|
||||||
|
|
||||||
@@ -88,6 +89,8 @@ class BillingManager @Inject constructor(
|
|||||||
if (billingResponseCode == BillingResponse.OK) {
|
if (billingResponseCode == BillingResponse.OK) {
|
||||||
isServiceConnected = true
|
isServiceConnected = true
|
||||||
onSuccess()
|
onSuccess()
|
||||||
|
} else {
|
||||||
|
Timber.w("Billing response: $billingResponseCode")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user