After updating iPad to iPadOS 15 when receiving Rate and Review Dialog and pressing Cancel on it, app freezes. This is reproducing on real iPads and iPad simulators. This is even reproducible with a build made with Xcode 12 and installed on iPadOS 15.
I'm using this code to show this pop up:
if #available(iOS 14.0, *) {
if let scene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene {
SKStoreReviewController.requestReview(in: scene)
}
}
else {
SKStoreReviewController.requestReview()
}
I checked running any code in DispatchQueue.main.asyncAfter
and it works, so looks like the app doesn't react only on user's touches. I think maybe it's left any kind of overlay over all the app.
Does anybody have any ideas on how to solve this?