Push notifications allow you to send timely, relevant messages directly to your customers’ mobile devices. By registering device tokens, you can target specific users or segments with personalized notifications, promotions, or alerts.
To enable push notifications for a customer, you need to register their device token with Masivo. This links their device to their customer profile, allowing for targeted messaging.
device_token: A unique identifier provided by Firebase Cloud Messaging (FCM) that allows Masivo to send notifications to a specific device. This token is generated by the Firebase SDK in your mobile application.
device_info: Additional information about the device that helps with segmentation:
platform: The operating system of the device (“android”, “ios”, or “web”)
model: The device model name or identifier
osVersion: The version of the operating system running on the device
Device tokens can change over time. Your app should update the token in Masivo
whenever the FCM SDK provides a new token to ensure uninterrupted delivery of
notifications.