diff --git a/README.md b/README.md index 01903aa..0b2e88f 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ public function routeNotificationForIonicPush() - `iosBadge()` - `iosPayload()` - `iosSound()` -- `iosPriortiy()` +- `iosPriority()` - `iosExpire()` - `iosContentAvailable()` @@ -136,7 +136,7 @@ public function routeNotificationForIonicPush() - `androidIcon()` - `androidIconColor()` - `androidMessage()` -- `androidPriortiy()` +- `androidPriority()` - `androidSound()` - `androidTag()` - `androidTimeToLive()` diff --git a/src/IonicPushMessage.php b/src/IonicPushMessage.php index e022933..9130a65 100644 --- a/src/IonicPushMessage.php +++ b/src/IonicPushMessage.php @@ -190,7 +190,7 @@ public function allowedAndroidOptions() 'icon', 'icon_color', 'message', - 'priortiy', + 'priority', 'sound', 'tag', 'time_to_live', @@ -211,7 +211,7 @@ public function allowediOSOptions() 'badge', 'payload', 'sound', - 'priortiy', + 'priority', 'expire', 'content_available', ];