Skip to main content
Version: 3.0

Unity - Use fallback paywalls

To use fallback paywalls, call the .setFallbackPaywalls method. Pass the content of the fallback JSON file you downloaded in the Adapty Dashboard. Place this method in your code before fetching a paywall, ensuring that the mobile app possesses it when a fallback paywall is required to replace the standard one.

Unity
Adapty.SetFallbackPaywalls("<FALLBACK_PAYWALL_DATA>", (error) => {
if(error != null) {
// handle error
}
});

Parameters:

ParameterPresenceDescription
<FALLBACK_PAYWALL_DATA>requiredThe contents of the fallback JSON file you downloaded in the Adapty Dashboard