Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JayBizzle authored Aug 23, 2016
1 parent d5a841f commit 3265391
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class FriendRequest extends Notification
You can easily set different setting for iOS and android individually like this...

```php
``` php
use NotificationChannels\IonicPushNotifications\IonicPushChannel;
use NotificationChannels\IonicPushNotifications\IonicPushMessage;
use Illuminate\Notifications\Notification;
Expand Down Expand Up @@ -107,6 +106,41 @@ public function routeNotificationForIonicPush()
}
```

### Available Message methods

- `create()`: Accepts a string value of `your-security-profile`.
- `title()`: The title of your notification (for all platforms). Can be overwritten by platform specific `title` method (see below).
- `message()`: The message content of your notification (for all platforms). Can be overwritten by platform specific `message` method (see below).
- `sound()`: The title of your notification (for all platforms). Can be overwritten by platform specific `sound` method (see below).
- `payload()`: An array of data to send with your notification. Can be overwritten by platform specific `payload` method (see below).

#### iOS specific methods
[See here](http://docs.ionic.io/v2.0.0-beta/docs/push-sending-push#section-basic-api-usage) for full details on these methods.
- `iosMessage()`
- `iosTitle()`
- `iosBadge()`
- `iosPayload()`
- `iosSound()`
- `iosPriortiy()`
- `iosExpire()`
- `iosContentAvailable()`

#### Android specific methods
[See here](http://docs.ionic.io/v2.0.0-beta/docs/push-sending-push#section-basic-api-usage) for full details on these methods.
- `androidCollapseKey()`
- `androidContentAvailable()`
- `androidData()`
- `androidDelayWhileIdle()`
- `androidIcon()`
- `androidIconColor()`
- `androidMessage()`
- `androidPriortiy()`
- `androidSound()`
- `androidTag()`
- `androidTimeToLive()`
- `androidTitle()`


## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
Expand Down

0 comments on commit 3265391

Please sign in to comment.