Locked mouse pointer and in-app purchases

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.

Replies

I'm facing with the same issue. if the Game Center is opened, the pointer is released automatically. but for the purchase popup... not. calling setNeedsUpdateOfPrefersPointerLocked has seems no effect. the player can't make purchase, or click the X after the ads due to this issue. (command+tab can release the pointer)