Question

App Rejected for Payments Issue

  • 13 May 2023
  • 1 reply
  • 36 views

Badge

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
}
}

 


1 reply

Userlevel 3
Badge +8

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