paywall that you want to present.
Optional
params: CreatePaywallViewParamsInput = {}additional params.
ViewController — A promise that resolves to a ViewController instance.
const paywall = await adapty.getPaywall("MY_PAYWALL");
const view = await createPaywallView(paywall);
view.present();
— If paywall is not found, does not have a no-code view configured or if there is an error while creating a view.
Generated using TypeDoc
Creates a paywall view controller. You can use it to further configure a view or present it.