Skip to content

Commit a64fc0e

Browse files
sotayamashitaaslushnikov
authored andcommitted
chore: fix missing device definitions (#708)
Fixes #606
1 parent 9554ef4 commit a64fc0e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

src/deviceDescriptors.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,16 @@ const descriptors: types.DeviceDescriptor[] = [
408408
'isMobile': true
409409
}
410410
},
411+
{
412+
'name': 'iPhone 11 landscape',
413+
'userAgent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Mobile/15E148 Safari/604.1',
414+
'viewport': {
415+
'width': 896,
416+
'height': 414,
417+
'deviceScaleFactor': 2,
418+
'isMobile': true
419+
}
420+
},
411421
{
412422
'name': 'iPhone 11 Pro',
413423
'userAgent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Mobile/15E148 Safari/604.1',
@@ -418,6 +428,16 @@ const descriptors: types.DeviceDescriptor[] = [
418428
'isMobile': true
419429
}
420430
},
431+
{
432+
'name': 'iPhone 11 Pro landscape',
433+
'userAgent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Mobile/15E148 Safari/604.1',
434+
'viewport': {
435+
'width': 812,
436+
'height': 375,
437+
'deviceScaleFactor': 3,
438+
'isMobile': true
439+
}
440+
},
421441
{
422442
'name': 'iPhone 11 Pro Max',
423443
'userAgent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Mobile/15E148 Safari/604.1',
@@ -428,6 +448,16 @@ const descriptors: types.DeviceDescriptor[] = [
428448
'isMobile': true
429449
}
430450
},
451+
{
452+
'name': 'iPhone 11 Pro Max landscape',
453+
'userAgent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Mobile/15E148 Safari/604.1',
454+
'viewport': {
455+
'width': 896,
456+
'height': 414,
457+
'deviceScaleFactor': 3,
458+
'isMobile': true
459+
}
460+
},
431461
{
432462
'name': 'JioPhone 2',
433463
'userAgent': 'Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5',
@@ -498,6 +528,16 @@ const descriptors: types.DeviceDescriptor[] = [
498528
'isMobile': true
499529
}
500530
},
531+
{
532+
'name': 'Microsoft Lumia 550 landscape',
533+
'userAgent': 'Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263',
534+
'viewport': {
535+
'width': 360,
536+
'height': 640,
537+
'deviceScaleFactor': 2,
538+
'isMobile': true
539+
}
540+
},
501541
{
502542
'name': 'Microsoft Lumia 950',
503543
'userAgent': 'Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263',

0 commit comments

Comments
 (0)