Skip to content

Commit 233d153

Browse files
NickSxticlaude
andcommitted
Drop @Suppress; supertype mismatch will be fixed in sandwich-sdk
Removing the @Suppress annotation. The override-vs-supertype param-name warning is the root-cause symptom of sandwich-sdk's QonversionEventsListener declaring 'transaction' while iOS and the rest of the RN bridge use 'purchaseResult'. That will be fixed at the source via a sandwich-sdk PR to rename the supertype param. After that lands and we bump io.qonversion:sandwich, this override will silently match. Until then, the warning is acceptable. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 18f7e4f commit 233d153

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

android/src/main/java/com/qonversion/reactnativesdk/QonversionModule.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ class QonversionModule(reactContext: ReactApplicationContext) : NativeQonversion
299299
emitOnEntitlementsUpdated(mappedEntitlements)
300300
}
301301

302-
@Suppress("PARAMETER_NAME_CHANGED_ON_OVERRIDE")
303302
override fun onDeferredPurchaseCompleted(purchaseResult: BridgeData) {
304303
val mappedPurchaseResult = EntitiesConverter.convertMapToWritableMap(purchaseResult)
305304
emitOnDeferredPurchaseCompleted(mappedPurchaseResult)

0 commit comments

Comments
 (0)