Superwall.shared
The shared Superwall instance that provides access to all SDK methods.
You must call configure()
before accessing Superwall.shared
, or the app will crash.
Purpose
Provides access to the configured Superwall instance after calling configure()
.
Signature
Returns / State
Returns the configured Superwall
instance that can be used to access all SDK methods.
Usage
Accessing the shared instance:
Common usage pattern:
With subscription status:
How is this guide?