Simplified notification construction and delivery for Android.
Changes:
Changes:
Change Log:
Breaking changes:
New features:
LargeIcon
.Breaking changes:
NotifyCreator#alerting(Payload.Alert.() -> Unit)
-> NotifyCreator#alerting(String, Payload.Alert.() -> Unit)
Notify#defaultConfig { }
now uses DSL syntax for default Header
and Alerting configuration.Creator
-> NotifyCreator
Notify#DEFAULT_CHANNEL_KEY
-> Notify#CHANNEL_DEFAULT_KEY
Notify#DEFAULT_CHANNEL_NAME
-> Notify#CHANNEL_DEFAULT_NAME
Notify#DEFAULT_CHANNEL_DESCRIPTION
-> Notify#CHANNEL_DEFAULT_DESCRIPTION
Changes:
header
scoped function in an instance persisting to other instances.RawNotification
members.NotificationInterlop
-> NotificationInterop
Expandable#expandedText
-> Expandable#collapsedText
Creator#getBuilder()
is now Creator#asBuilder()
which is inline with the function of the same name in Notify
.Creator#send()
and Notify#send()
are now Creator#show()
and Notify#show()
respectively.