Skip to content

Commit 25894d9

Browse files
committed
Add new "MACOS" device type
1 parent a888a1e commit 25894d9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Devices.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class Devices
1818
const WINDOWS_PHONE_WNS = 6;
1919
const SAFARI = 7;
2020
const FIREFOX = 8;
21+
const MACOS = 9;
2122

2223
/**
2324
* @var OneSignal
@@ -93,6 +94,13 @@ public function add(array $data)
9394
self::ANDROID,
9495
self::AMAZON,
9596
self::WINDOWS_PHONE,
97+
self::WINDOWS_PHONE_MPNS,
98+
self::CHROME_APP,
99+
self::CHROME_WEB,
100+
self::WINDOWS_PHONE_WNS,
101+
self::SAFARI,
102+
self::FIREFOX,
103+
self::MACOS,
96104
]);
97105
});
98106

0 commit comments

Comments
 (0)