Fix sponsor not acknowledged
This commit is contained in:
@@ -80,6 +80,8 @@ class MainActivity : AbstractActivity(), ServiceConnection.Callback {
|
||||
startIntegration()
|
||||
|
||||
onNewIntent(intent)
|
||||
|
||||
Vendor.initializeBillingClient(this)
|
||||
}
|
||||
|
||||
override fun onNewIntent(intent: Intent) {
|
||||
|
||||
@@ -5,5 +5,6 @@ import android.app.Activity
|
||||
interface VendorInterface {
|
||||
fun checkUpdateAvailable(): Boolean
|
||||
fun checkUpdate(activity: Activity, byUser: Boolean)
|
||||
fun initializeBillingClient(activity: Activity)
|
||||
fun startSponsor(activity: Activity, fallback: () -> Unit)
|
||||
}
|
||||
Reference in New Issue
Block a user