superwall / react-native-superwall

Remotely configure every aspect of your paywall and double your revenue.
MIT License
22 stars 0 forks source link

'paywallWillOpenURL' is not a supported event type for SuperwallReactNative #9

Closed nikitattt closed 1 month ago

nikitattt commented 3 months ago

Hello! I implemented the Delegate class, as in the example project.

But I get this error when clicking on the link in my paywall:

'paywallWillOpenURL' is not a supported event type for
SuperwallReactNative. Supported events are:
'purchaseFromAppStore' purchaseFromGooglePlay, 'restore' paywallPresentationHandler,
'subscriptionStatusDidChange
'handleSuperwallEvent'
'handleCustomPaywallAction', willDismissPaywall', handleLog
-[RCTEventEmitter sendEventWithName:body:]
RCTEventEmitter.m
$s22superwall_react_native23SuperwallDelegateBridgeC9s
endEvent33_B8E65C3FDCA27828C7DB86201F755A90LL8
withNamebodyySS_SDySSypGtF

$s22superwall_react_native23SuperwallDelegateBridgeC18
paywallWillOpenURL3urly10FoundationOJOV_tF

$s22superwall_react_native23SuperwallDelegateBridgeCO
D3KitOdE0AadEP18paywallWillOpenURL3urly10FoundationO
KOV_tFTW

$s12SuperwallKit0A15DelegateAdapterC18paywallWillOpen
URL3urly10FoundationOHOV_tF

$s12SuperwallKit0A0C13eventDidOccur_2onyAA15Paywall
WebEventO_AAOG14ViewControllerCtYaFTY0_

$s12SuperwallKitOAOCAA34PaywallViewControllerEventDel
egateA2aDP13eventDidOccur_2onyAA0c3WebF00_AA0cdE
OCtYaFTWTQO_

$s12SuperwallKit21PaywallViewControllerC13eventDidOccur
YAAOC8WebEventOFytSgyYaYbcfU_TQ1_

$s12SuperwallKit21PaywallViewControllerC13eventDidOccur
YYAAOC8WebEventOFytSgyYaYbcfU_TATQO_

$sxleghHr_xs5Error_plegHrzo_s8SendableRzs5NeverORs_r
O_ITRTQO_

$sxleghHr_xs5Error_plegHrzo_s8SendableRzs5NeverORs_r
O_ITRTATQO_

completeTaskWithClosure(swift::AsyncContext*, swift::Swift
Error*)

My link is configured with an In App Browser opening.

I'm running an ejected Expo with these versions:

"dependencies": {
    "@superwall/react-native-superwall": "^1.2.5",
    "expo": "~51.0.11",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.74.2"
}
yusuftor commented 1 month ago

This should be fixed now, please update.