From 7726a91b6225e26292dbca89e833352830f0d82e Mon Sep 17 00:00:00 2001 From: Mark Beech Date: Thu, 1 Sep 2016 13:46:05 +0100 Subject: [PATCH 1/2] Fix typos --- src/IonicPushMessage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', ]; From 1abfd456ea3d7ac58bd8b757a73079cfe0763b65 Mon Sep 17 00:00:00 2001 From: Mark Beech Date: Thu, 1 Sep 2016 13:46:57 +0100 Subject: [PATCH 2/2] Fix README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()`