* Support for android version >= O
added option to provide params to create notification channel which is necessary on android version >= O
* Creating notification channel for build>=android O
if device build>=android O, creating a notification channel before notificationManager.build() is called
* using notification builder's new constructor
`NotificationCompat.Builder (Context context)` was deprecated in API 26.1.0
Using new `NotificationCompat.Builder(Context, String)` instead.
The second parameter here is notification channel id on which notifiction will be posted.
* Update Notification.java
* For API 26+ : added channel params in options
Added channelParams object inside default options to support passing parameters for notification channel
e.g. a notification object can be made like this:
`notif = { channelParams : { channelID : "channel_id", channelName : "channel_name", description : "channel_description", importance : "notification_importance"}, text: "notif_message", title: "notif_title", sound: "sound_uri"}`
Channels are a way of categorizing your notifications and is necessary to implement on android version >= Android O in order to use notifications. For more info on NotificationChannels you can visit: https://developer.android.com/reference/android/app/NotificationChannel.html
* Moved channelParams to platform specific options
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AbstractClearReceiver.java | Loading commit data... | |
| AbstractClickActivity.java | Loading commit data... | |
| AbstractRestoreReceiver.java | Loading commit data... | |
| AbstractTriggerReceiver.java | Loading commit data... | |
| AssetUtil.java | Loading commit data... | |
| Builder.java | Loading commit data... | |
| ClearReceiver.java | Loading commit data... | |
| ClickActivity.java | Loading commit data... | |
| Manager.java | Loading commit data... | |
| Notification.java | Loading commit data... | |
| Options.java | Loading commit data... | |
| TriggerReceiver.java | Loading commit data... |