Qonversion - Mobile app subscription analytics v1.0.0-beta.3 Release Notes

Release Date: 2020-04-10 // almost 4 years ago
  • Qonversion SDK provides a method for checking user subscription status. That makes your app flow more flexible. For example, you can check that the user subscription has not expired yet but was canceled. Or you can check that the subscription is in billing retry status and show a special offer to such user.

    Qonversion.checkUser({ result in
    
      guard let activeProduct = result.activeProducts.first else {
        // Flow for users without any active subscription
        return
      }
    
      if activeProduct.state == .trial, activeProduct.status == .active {
        // Flow for users with active subscription
      }
    }) { _ in }