Skip to main content
Question

App Rejected for Payments Issue

  • May 13, 2023
  • 1 reply
  • 131 views

Forum|alt.badge.img+1

I’ve implemented RevenueCat on iOS, following the onboarding guide, and my app has been rejected.

 

struct MainApp: App {

    @AppStorage("isPaying") var isPaying = false

    // inject into SwiftUI life-cycle via adaptor !!!
    @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
    init() {
        Purchases.logLevel = .debug
        Purchases.configure(withAPIKey: "***", appUserID: nil)
    }
...
}

// in PaymentsView
Purchases.shared.purchase(package: package) { (transaction, customerInfo, error, userCancelled) in
                         isLoading = false
                         print(customerInfo)
                         if customerInfo?.entitlements["pro_entitlement"]?.isActive == true {
                             isPaying = true
                         }
                     }

 

This post has been closed for comments

1 reply

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 383 replies
  • May 17, 2023

Hey Steven,

 

A lot of developers get this rejection. Unfortunately, it’s occurring because of a Sandbox network issue that happened during your review. RevenueCat always validates against both environments, so these Next Steps are incorrect.

 

I suggest resubmitting the app again. Some developers have had to submit several times before getting through.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings