Nami ML

Nami ML Documentation

Welcome to the Nami ML documentation hub. You'll find comprehensive guides and documentation to help you start working with Nami ML as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Prevent a Paywall from Being Raised

If you have screens in your app where you never want to make sure your users are not interrupted by a paywall, add the following callback to your code:

NamiPaywallManager.registerApplicationAutoRaisePaywallBlocker { () -> Bool in
    if inKeySection {
        return false
    } else {
        return true
    }
}
[NamiPaywallManager registerApplicationAutoRaisePaywallBlocker:^BOOL{
    if (inKeySection) {
        return true;
    } else {
        return false;
    }
}];
NamiPaywallManager.registerApplicationAutoRaisePaywallBlocker {
    if (allowAutoRaisingPaywall) {
      true
    } else {
      false
    }
}
NamiPaywallManager.registerApplicationAutoRaisePaywallBlocker(() -> {
    if (allowAutoRaisingPaywall) {
      return true;
    } else {
      return false;
    }
});
NamiPaywallManager.blockPaywallAutoRaise(bool blockRaise);

When returning true paywalls behave as normal. If you return false all paywalls Nami controls will be prevented from displaying.

  • Flutter
    Setting to true would prevent from displaying all the paywalls that Nami controls, and setting false would set patwalls to behave normally.

Updated about a month ago


Prevent a Paywall from Being Raised


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.