I’m using RevenueCatUI and have configured the restore button action correctly in the RevenueCat dashboard. It used to work fine, but recently the onRestoreCompleted modifier is no longer being triggered when I tap the restore button that i configured remotely
Here’s the code:PaywallView(displayCloseButton: false)
.ignoresSafeArea()
.onAppear {
print("paywall onAppear")
}
.onDisappear {
print("paywall onAppear")
}
.onPurchaseStarted { package in
print("onPurchaseStarted")
}
.onPurchaseCompleted { transaction, customerInfo in
print("onPurchaseCompleted")
}
.onPurchaseCancelled {
print("onPurchaseCancelled")
}
.onPurchaseFailure { error in
print("Purchase failed with error: \(error)")
}
.onRestoreStarted {
print("Restore started")
}
.onRestoreCompleted { customerInfo in
print("Restore completed, checking subscription status")
}
.onRestoreFailure { error in
print("Restore failed with error: \(error)")
}
Here’s the Console output:
paywall onAppear