This repository was archived by the owner on Jun 23, 2025. It is now read-only.
Description New issue checklist
General information
@superwall/react-native-superwall version: 2.0.3
React Native version: 0.76.1
Expo version (if applicable): 52.0.37
Platform affected (Android and/or iOS): Android
OS versions affected, e.g. iOS 18.3.1 (if applicable):
Devices/Simulators affected:
Reproducible in the example app? (Yes/No): No
Related issues:
Describe the bug
When i set a log handler in setDelegate, my console is filled with
Error Evaluating JS, Info: {"message":"\n window.paywall.accept64('W3siZXZlbnRfbmFtZSI6InB...
I think the problem is that window.paywall is not defined.
Steps to reproduce
Set
Superwall . shared . setDelegate ( {
handleLog (
level ,
scope ,
message ,
info ,
error
) {
if ( level == "DEBUG" ) return ;
console [ level . toLowerCase ( ) ] ( `[Superwall:${ scope } ], Message: ${ message } , Info: ${ JSON . stringify ( info ) } ` )
if ( error && error !== "null" ) console . error ( error ) ;
}
} )
inspect logs
Other Information Reactions are currently unavailable
New issue checklist
READMEand documentationGeneral information
@superwall/react-native-superwallversion: 2.0.3Describe the bug
When i set a log handler in setDelegate, my console is filled with
I think the problem is that
window.paywallis not defined.Steps to reproduce
Other Information