You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
When using the Superwall React Native SDK, TypeScript reports that the shared property does not exist on the Superwall type. This occurs when trying to access Superwall.shared.subscriptionStatus().
and when I run the app I have this error : ERROR Warning: TypeError: _reactNativeSuperwall.default.shared.subscriptionStatus is not a function (it is undefined)
Steps to reproduce
Attempt to access the subscription status using: const status = Superwall.shared.subscriptionStatus();
TypeScript will report the error: Property 'shared' does not exist on type 'Superwall'
Expected Behavior:
TypeScript should recognize Superwall.shared as a valid property
subscriptionStatus() should be accessible through the shared property
So I can check the sub status of my users..
Actual Behavior:
TypeScript error: Property 'shared' does not exist on type 'Superwall'
Runtime error: TypeError: _reactNativeSuperwall.default.shared.subscriptionStatus is not a function (it is undefined)
Code fails both type checking and runtime execution