|
I am currently having an issue getting the correct activation state on app launch to show the SK Store Review Controller. So I call it in onAppear:
Then in the appLaunched method:
The issue is that the only scene I get back in the Set of connectedScenes has an activationState of
|
|
Same issue for me and also tried with Xcode 13.2.1 (and I think iOS 15.2). I was able to get the request to show up if I just used |
|
While your suggest works, I thought the idea of checking whether the screen is active is to prevent the view trying to show if the view is not active. It seems in a recent version of iOS Apple has changed how the scene is active. |
|
I'm having the same issue (also XCode 13.3, targeting 15.0) For learning purposes removing the filter works, but I'd like to know how to do this in a live app. Probably the absolutely worst place for your app to crash is when requesting a review :) |
|
With a quick check I'm finding that there is only one scene found in the scope of |
|
Tested on Xcode 13.4.1. In my iPhone simulator test I have only one inactive. My workaround is
so if it's a simulator problem, I still get the correct one on the device. However in my iPad simulator, having 2 versions running side by side, I get two scenes in the list. Finally, not windows show the review window. Is that how it should be? I would like to understand, what exactly is going wrong here. |
SAVE 50% All our books and bundles are half price for Black Friday, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.