@@ -236,7 +236,7 @@ class OpenIapModule(
236236 * Check if alternative billing is available for this user/device
237237 * Step 1 of alternative billing flow
238238 */
239- suspend fun checkAlternativeBillingAvailability (): Boolean = withContext(Dispatchers .IO ) {
239+ override suspend fun checkAlternativeBillingAvailability (): Boolean = withContext(Dispatchers .IO ) {
240240 val client = billingClient ? : throw OpenIapError .NotPrepared
241241 if (! client.isReady) throw OpenIapError .NotPrepared
242242
@@ -275,7 +275,7 @@ class OpenIapModule(
275275 * Step 2 of alternative billing flow
276276 * Must be called BEFORE processing payment
277277 */
278- suspend fun showAlternativeBillingInformationDialog (activity : Activity ): Boolean = withContext(Dispatchers .IO ) {
278+ override suspend fun showAlternativeBillingInformationDialog (activity : Activity ): Boolean = withContext(Dispatchers .IO ) {
279279 val client = billingClient ? : throw OpenIapError .NotPrepared
280280 if (! client.isReady) throw OpenIapError .NotPrepared
281281
@@ -323,7 +323,7 @@ class OpenIapModule(
323323 * Must be called AFTER successful payment in your payment system
324324 * Token must be reported to Google Play backend within 24 hours
325325 */
326- suspend fun createAlternativeBillingReportingToken (): String? = withContext(Dispatchers .IO ) {
326+ override suspend fun createAlternativeBillingReportingToken (): String? = withContext(Dispatchers .IO ) {
327327 val client = billingClient ? : throw OpenIapError .NotPrepared
328328 if (! client.isReady) throw OpenIapError .NotPrepared
329329
@@ -1055,7 +1055,7 @@ class OpenIapModule(
10551055 *
10561056 * @param listener User choice billing listener
10571057 */
1058- fun setUserChoiceBillingListener (listener : dev.hyo.openiap.listener.UserChoiceBillingListener ? ) {
1058+ override fun setUserChoiceBillingListener (listener : dev.hyo.openiap.listener.UserChoiceBillingListener ? ) {
10591059 userChoiceBillingListener = listener
10601060 }
10611061}
0 commit comments