Skip to main content

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?.entitlementsn"pro_entitlement"]?.isActive == true {
isPaying = true
}
}

 

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.


Reply