slash
slash copied to clipboard
fix(@toss/utils): When iOS Request Desktop Website is enabled, there is an issue with the userAgent.
Overview
https://forums.developer.apple.com/forums/thread/119186 When the "Request Desktop Website" option is enabled in iOS Safari, there is an issue with the userAgent being incorrect.
- iOS Version: 17.5
- Device Model: iPhone 15 Pro
- Browser: Safari
Reproduction Steps
- Open Safari on iPhone 15 Pro.
- Navigate to any website (safari).
- Enable the "Request Desktop Website" option in Safari settings.
- Check the userAgent string using developer tools or JavaScript.
Expect
Mozilla/5.0 (iPhone; ...
Result
PR Checklist
- [x] I read and included theses actions below
- I have read the Contributing Guide
- I have written documents and tests, if needed.
@kinndohyun is attempting to deploy a commit to the Toss Team on Vercel.
A member of the Team first needs to authorize it.