Skip to content

Commit f8a0727

Browse files
author
Simone Mariotti
committed
Made the change requested in #23
1 parent 344f3f2 commit f8a0727

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Analyser/Header/Useragent/Browser.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,12 @@ class Browser {
262262
details: 2,
263263
});
264264

265+
if (/Mobile VR/.test(ua)) {
266+
this.data.device.manufacturer = 'Samsung';
267+
this.data.device.model = 'Gear VR';
268+
this.data.device.type = Constants.deviceType.HEADSET;
269+
}
270+
265271
if (/Pacific/.test(ua)) {
266272
this.data.device.manufacturer = 'Oculus';
267273
this.data.device.model = 'Go';

0 commit comments

Comments
 (0)