Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Update user agents #2864

Closed
iccub opened this issue Sep 8, 2020 · 1 comment · Fixed by #2865
Closed

Update user agents #2864

iccub opened this issue Sep 8, 2020 · 1 comment · Fixed by #2865

Comments

@iccub
Copy link
Collaborator

iccub commented Sep 8, 2020

User agents are outdated, update them and make new UA for iOS 14

Test Plan
Now we use one user agent per iOS version, which means that iOS 13.1 and 13.6 has exactly the same UA.

user agents to check

any iOS 14 iPhone UA

Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/14.0
Mobile/15E148 
Safari/604.1

any iOS 14 iPad UA

Mozilla/5.0 (iPad; CPU OS 14_0 like Mac OS X) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/14.0
Mobile/15E148
Safari/604.1

any iOS 14 desktop UA

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/14.0
Safari/605.1.15

any iOS 13 iPhone UA

Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/13.1.2 
Mobile/15E148 
Safari/604.1

any iOS 13 iPad UA

Mozilla/5.0 (iPad; CPU OS 13_6_1 like Mac OS X) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/13.1.2
Mobile/15E148
Safari/604.1

any iOS 13 desktop UA

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/13.1 
Safari/605.1.15

any iOS 12 iPhone UA

Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/12.1.2 
Mobile/15E148 
Safari/604.1

any iOS 12 iPad UA

Mozilla/5.0 (iPad; CPU OS 12_4_1 like Mac OS X) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/12.1.2
Mobile/15E148
Safari/604.1

any iOS 12 desktop UA

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) 
AppleWebKit/605.1.15 (KHTML, like Gecko) 
Version/12.1.2
Safari/605.1.15
@srirambv
Copy link
Contributor

  • Verification passed on the following devices as per the test plan described in the issue
iPhone 7+(iOS 14) Mobile UA iPhone 7+(iOS 14) Desktop UA
image image
iPhone XR (iOS 13.6) Mobile UA iPhone XR (iOS 13.6) Dekstop UA
image image
iPhone 6 (iOS 12.4.7) Mobile UA iPhone 6 (iOS 12.4.7) Desktop UA
image image
iPad Pro (iOS 12.4.1) iPad UA iPad Pro (iOS 12.4.1) Desktop UA
image image
iPad Pro (iOS 13.6) iPad UA iPad Pro (iOS 13.6) Desktop UA
image image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.