Facebook SDK does not return focus to game canvas after FB purchase popup closed
Hello, I use Unity 2017.3.1p4 WebGL target, Facebook SDK 7.13.0
When I try to purchase something with FB.Canvas.Pay, Facebook dialog opens. And then after it will close, the game still don't have a focus. But when I clicked on the canvas the focus will return to game.
How I can fix it? I guess that the Facebook sdk should to do it automatically, because we can set a callback to FB.Init that calls when the focus gone and came back, but the callback OnHideUnity doesn't calls. Why that happens?
Comment