Adds a strongly-typed event listener.
Supported events:
Initializes the Adapty SDK.
The activation options
Your Adapty API key
Optional
params?: ActivateParamsInputOptional activation parameters
Promise that resolves when the SDK is activated
Creates a URL for web paywall.
Gets the current installation status.
Gets an onboarding by placement ID.
Gets an onboarding for default audience by placement ID.
Gets a paywall for default audience by placement ID.
Gets products for a specific paywall.
Gets the current user profile.
Identifies the user with a customer user ID.
Checks if the SDK is activated.
Logs out the current user.
Logs that a paywall was shown to the user.
Makes a purchase of a product.
Opens a web paywall.
Presents the code redemption sheet (iOS only).
Removes all listeners.
Reports a transaction to Adapty.
Restores user purchases.
Sets fallback paywalls from a file.
Sets an integration identifier.
Sets the log level for the SDK or configures JS logger sinks.
Updates attribution data for the current user.
Updates collecting refund data consent (iOS only).
Updates refund preference (iOS only).
This file exposes all the API, that is needed by documentation, not for the end user.