Close a Paywall Creator paywall if it is still open.

This is a method meant to force a Nami paywall closed if still open, and optionally run any code desired after the paywall is fully closed - this can be used to pop up messaging after a purchase while being sure an open paywall will not block a message being presented.

NamiPaywallManager.dismiss(animated: Bool, completion: (Void)->Void)

Parameters

  • animated: Will animate the closing of the paywall if true.
  • completion: Code to execute after paywall closure is fully complete.