launchIfNeeded
Launch the paywall activity if the current user does not have requiredEntitlementIdentifier active.
Parameters
The offering to be shown in the paywall. If null, the current offering will be shown.
The ParcelizableFontProvider to be used in the paywall. If null, the default fonts will be used.
the paywall will be displayed only if the current user does not have this entitlement active.
Whether to display the dismiss button in the paywall.
Callback that will be called with true if the paywall was displayed
Do not use this method, use the method with the same name that takes an Offering instead. This method is used internally by the hybrid SDKs.
Launch the paywall activity if the current user does not have requiredEntitlementIdentifier active.
Parameters
The offering identifier of the ofering to be shown in the paywall. If null, the current offering will be shown.
The ParcelizableFontProvider to be used in the paywall. If null, the default fonts will be used.
the paywall will be displayed only if the current user does not have this entitlement active.
Whether to display the dismiss button in the paywall.
Callback that will be called with true if the paywall was displayed
Launch the paywall activity based on whether the result of shouldDisplayBlock is true.
Parameters
The offering to be shown in the paywall. If null, the current offering will be shown.
The ParcelizableFontProvider to be used in the paywall. If null, the default fonts will be used.
Whether to display the dismiss button in the paywall.
the paywall will be displayed only if this returns true.