Skip to content

Commit

Permalink
Add new "MACOS" device type
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas committed Apr 28, 2017
1 parent a888a1e commit 25894d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Devices.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Devices
const WINDOWS_PHONE_WNS = 6;
const SAFARI = 7;
const FIREFOX = 8;
const MACOS = 9;

/**
* @var OneSignal
Expand Down Expand Up @@ -93,6 +94,13 @@ public function add(array $data)
self::ANDROID,
self::AMAZON,
self::WINDOWS_PHONE,
self::WINDOWS_PHONE_MPNS,
self::CHROME_APP,
self::CHROME_WEB,
self::WINDOWS_PHONE_WNS,
self::SAFARI,
self::FIREFOX,
self::MACOS,
]);
});

Expand Down

0 comments on commit 25894d9

Please sign in to comment.