@@ -234,7 +234,7 @@ class OpenIapModule(
234234 * Check if alternative billing is available for this user/device
235235 * Step 1 of alternative billing flow
236236 */
237- suspend fun checkAlternativeBillingAvailability (): Boolean = withContext(Dispatchers .IO ) {
237+ override suspend fun checkAlternativeBillingAvailability (): Boolean = withContext(Dispatchers .IO ) {
238238 val client = billingClient ? : throw OpenIapError .NotPrepared
239239 if (! client.isReady) throw OpenIapError .NotPrepared
240240
@@ -273,7 +273,7 @@ class OpenIapModule(
273273 * Step 2 of alternative billing flow
274274 * Must be called BEFORE processing payment
275275 */
276- suspend fun showAlternativeBillingInformationDialog (activity : Activity ): Boolean = withContext(Dispatchers .IO ) {
276+ override suspend fun showAlternativeBillingInformationDialog (activity : Activity ): Boolean = withContext(Dispatchers .IO ) {
277277 val client = billingClient ? : throw OpenIapError .NotPrepared
278278 if (! client.isReady) throw OpenIapError .NotPrepared
279279
@@ -321,7 +321,7 @@ class OpenIapModule(
321321 * Must be called AFTER successful payment in your payment system
322322 * Token must be reported to Google Play backend within 24 hours
323323 */
324- suspend fun createAlternativeBillingReportingToken (): String? = withContext(Dispatchers .IO ) {
324+ override suspend fun createAlternativeBillingReportingToken (): String? = withContext(Dispatchers .IO ) {
325325 val client = billingClient ? : throw OpenIapError .NotPrepared
326326 if (! client.isReady) throw OpenIapError .NotPrepared
327327
@@ -1037,7 +1037,7 @@ class OpenIapModule(
10371037 *
10381038 * @param listener User choice billing listener
10391039 */
1040- fun setUserChoiceBillingListener (listener : dev.hyo.openiap.listener.UserChoiceBillingListener ? ) {
1040+ override fun setUserChoiceBillingListener (listener : dev.hyo.openiap.listener.UserChoiceBillingListener ? ) {
10411041 userChoiceBillingListener = listener
10421042 }
10431043}
0 commit comments