StephenVinouze / KinApp

A Kotlin In App Purchase library that lets you easily manage your billing process in Android
Apache License 2.0
81 stars 13 forks source link

FetchProducts cannot change to my produt_id #3

Closed spe4all closed 6 years ago

spe4all commented 6 years ago

Hi, when i change by "premium", don´t work. Give the error : [TYPE_MISMATCH] Type mismatch: inferred type is String but kotlin.collections.ArrayList / = java.util.ArrayList / was expected

Code Example: launch(UI) { val products = billingManager.fetchProducts(, KinAppProductType.INAPP).await()
}

change to: launch(UI) { val products = billingManager.fetchProducts("premium", KinAppProductType.INAPP).await()
}