Skip to main content

Troubleshoot Paywall Builder in Kotlin Multiplatform SDK

This guide helps you resolve common issues when using paywalls designed in the Adapty Paywall Builder in the Kotlin Multiplatform SDK.

Getting a paywall configuration fails

Issue: The createPaywallView method fails to create a paywall view, or the paywall doesn't have a view configuration.

Reason: The paywall is not enabled for device display in the Paywall Builder.

Solution: Enable the Show on device toggle in the Paywall Builder. You can also check if a paywall has view configuration by using the hasViewConfiguration property on the AdaptyPaywall object.

The paywall view number is too big

Issue: The paywall view count is showing double the expected number.

Reason: You may be calling logShowPaywall in your code, which duplicates the view count if you're using the Paywall builder. For paywalls designed with the Paywall Builder, analytics are tracked automatically, so you don't need to use this method.

Solution: Ensure you are not calling logShowPaywall in your code if you're using the Paywall builder.

Other issues

Issue: You're experiencing other Paywall Builder-related problems not covered above.

Solution: Migrate the SDK to the latest version using the migration guides if needed. Many issues are resolved in newer SDK versions.