ReviewKit icon indicating copy to clipboard operation
ReviewKit copied to clipboard

[Bug] Review request window opens behind app window when using Mac Catalyst

Open VielfaltSoftware opened this issue 1 year ago • 0 comments

Steps to Reproduce:

  1. Build an iOS app on macOS using Mac Catalyst
  2. 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 ?

VielfaltSoftware avatar May 08 '24 08:05 VielfaltSoftware