Troubleshoot the old 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. For issues with flows, see Common issues.

Getting a paywall configuration fails

Issue: The createFlowView method fails to create a view, or the flow 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 read the hasViewConfiguration property on the AdaptyFlow object to tell whether a view configuration is available.

show-on-device.webp

The paywall view number is too big

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

Reason: You may be calling logShowFlow (SDK v4+) / logShowPaywall in your code, which duplicates the view count for a paywall built in the old Paywall Builder. Adapty tracks those views automatically, so you don’t need this method.

Solution: Ensure you are not calling logShowFlow (SDK v4+) / logShowPaywall in your code for a paywall built in the old Paywall Builder.