MBMessages
instead of MPush
you have to do the following changes:MPAndroidNotificationsSettings
to the configure sections, it has 2 parameters:channelId
: the id of the channelchannelName
: the name for the channelchannelDescription
: the description for the channelicon
: the default icon for the notification, in the example application the icon is in the res folder as a mipmap, so it's adressed as @mipmap/icon_notif
, iff the icon is a drawable use @drawable/icon_notif
.MPTopic
class which has 3 properties:code
: the id of the topictitle
: the readable title of the topic that will be displayed in the dashboard, if this is not set it will be equal to code
.single
: if this topic represents a single device or a group of devices, by default false
.MBMessages.projectPushTopic()
: this topic represents all devices registred to push notifications for this projectMBMessages.devicePushTopic()
: this topic represents the current devicenull
if the application was launched normally: