From 0083e8ec042bea16142c846a7e32641b639be870 Mon Sep 17 00:00:00 2001 From: Vladimir Abramichev <2648655+descorp@users.noreply.github.com> Date: Thu, 16 Oct 2025 16:04:25 +0200 Subject: [PATCH] Fix method signature in onNewIntent override --- src/plugin/withPaypalWebPayments.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugin/withPaypalWebPayments.ts b/src/plugin/withPaypalWebPayments.ts index c93b4bf..265fa8a 100644 --- a/src/plugin/withPaypalWebPayments.ts +++ b/src/plugin/withPaypalWebPayments.ts @@ -11,9 +11,9 @@ export const setOnNewIntent = (mainActivity: string) => { } let result = mainActivity; const methodCode = ` - override fun onNewIntent(newIntent: Intent) { - super.onNewIntent(newIntent) - intent = newIntent + override fun onNewIntent(intent: Intent) { + super.onNewIntent(intent) + this.intent = intent }`; // Ensure the necessary import is present