You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, for some reason, sys.game.device.browser.safari is false on macOS Safari, but this is a bit outside of the scope of this issue. Still, macOS navigator.userAgent output, if anyone cares: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Description
Same as title. The browser detection code needs some updating. Currently:
https://github.com/phaserjs/phaser/blob/v3.80.0-beta.2/src/device/Browser.js
But should also consider the 'CriOS' substring of iOS Chrome's UA: https://chromium.googlesource.com/chromium/src/+/master/docs/ios/user_agent.md
Also, for some reason,
sys.game.device.browser.safari
isfalse
on macOS Safari, but this is a bit outside of the scope of this issue. Still, macOS navigator.userAgent output, if anyone cares:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Example Test Code
Not a regex, so you can prob do better:
The text was updated successfully, but these errors were encountered: