Steps to Reproduce:
- Build an iOS app on macOS using Mac Catalyst
- Use ReviewKit.recordPositiveEventAndRequestReviewIfCriteriaMet() in certain places
Expected Behavior:
When all criteria are met, the small review request window should appear in front of the app window.
Current Behavior:
The review request window appears behind the app window.
Environment
macOS 14.4.1
Xcode 15.3
Comment
#if os(macOS) does not capture Mac Catalyst, which is only captured by
#if targetEnvironment(macCatalyst)
Could it be that this must be considered in the function requestReviewIfCriteriaMet ?