Merge pull request #846 from Th0masCat/add-new-app

Added support for Samsung Galaxy S20/S20 Plus & S21/S21 Plus/S21 Ultra
This commit is contained in:
Manoj Vivek 2023-03-10 18:09:33 +05:30 committed by GitHub
commit 849439e75f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,6 +156,66 @@ const devices: Device[] = [
isTouchCapable: true,
isMobileCapable: true,
},
{
name: 'Galaxy S21',
width: 360,
height: 800,
dpi: 3,
capabilities: ['touch', 'mobile'],
userAgent:
'Mozilla/5.0 (Linux; Android 9.0; SAMSUNG SM-G991 Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36',
type: 'phone',
isTouchCapable: true,
isMobileCapable: true,
},
{
name: 'Galaxy S21 Plus',
width: 384,
height: 854,
dpi: 2.8125,
capabilities: ['touch', 'mobile'],
userAgent:
'Mozilla/5.0 (Linux; Android 9.0; SAMSUNG SM-G996 Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36',
type: 'phone',
isTouchCapable: true,
isMobileCapable: true,
},
{
name: 'Galaxy S21 Ultra',
width: 412,
height: 915,
dpi: 2.625,
capabilities: ['touch', 'mobile'],
userAgent:
'Mozilla/5.0 (Linux; Android 9.0; SAMSUNG SM-G998 Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36',
type: 'phone',
isTouchCapable: true,
isMobileCapable: true,
},
{
name: 'Galaxy S20',
width: 360,
height: 800,
dpi: 3,
capabilities: ['touch', 'mobile'],
userAgent:
'Mozilla/5.0 (Linux; Android 9.0; SAMSUNG SM-G981 Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36',
type: 'phone',
isTouchCapable: true,
isMobileCapable: true,
},
{
name: 'Galaxy S20 Plus',
width: 384,
height: 854,
dpi: 3,
capabilities: ['touch', 'mobile'],
userAgent:
'Mozilla/5.0 (Linux; Android 9.0; SAMSUNG SM-G986 Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36',
type: 'phone',
isTouchCapable: true,
isMobileCapable: true,
},
{
name: 'Samsung Galaxy A51/71',
width: 412,