We have an iOS app in Development with in-app purchases that works fine on iOS devices.
When running the app on Apple Silicon Macs, the app locks the mouse pointer and renders its own (via GCMouse listener events).
When the user selects an in-app item to purchase, the operating system displays the purchase confirmation dialog as expected, however because the pointer is still locked, users are unable to click elements on the dialog or see a pointer. I've tried running setNeedsUpdateOfPrefersPointerLocked and returning false prior to the purchase but the pointer remains locked. Is there a better way to immediately release the lock or ensure the in-app purchase dialog gets the mouse pointer?
Thanks.