If you have some key section of your code you want to make sure is never interrupted by a paywall, you can implement the callback:

NamiPaywallManager.registerPaywallGate { () -> Bool in
    if inKeySection {
        return false
    } else {
        return true
    }
}


returning true  allows a paywall to be raised, returning false  will always prevent Nami from raising a paywall - even if the application has explicitly asked for the paywall to be raised.

Did this answer your question?