Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class QonversionModule(reactContext: ReactApplicationContext) : NativeQonversion
(reactContext.applicationContext as Application),
object : ActivityProvider {
override val currentActivity: Activity?
get() = this@QonversionModule.currentActivity
get() = reactApplicationContext.currentActivity
},
this
)
Expand Down Expand Up @@ -299,9 +299,9 @@ class QonversionModule(reactContext: ReactApplicationContext) : NativeQonversion
emitOnEntitlementsUpdated(mappedEntitlements)
}

override fun onDeferredPurchaseCompleted(purchaseResult: BridgeData) {
val mappedPurchaseResult = EntitiesConverter.convertMapToWritableMap(purchaseResult)
emitOnDeferredPurchaseCompleted(mappedPurchaseResult)
override fun onDeferredPurchaseCompleted(transaction: BridgeData) {
val mappedTransaction = EntitiesConverter.convertMapToWritableMap(transaction)
emitOnDeferredPurchaseCompleted(mappedTransaction)
}

companion object {
Expand Down
Loading