Tracking push notification availability for customers in Loymax Smart Communications
Push notifications are delivered to customers via specialized push services.
Loymax Smart Communications allows for sending push notifications through the Google Firebase Cloud Messaging Service.
Due to various reasons, including customer actions, the status of a mobile device identifier, push token, and push notification availability may change.
On the side of Loymax Smart Communications, an active push token is determined as follows:
When sending a mailing to multiple push tokens, Smart Communications analyzes the response received from the FCM service. If an error is received, the push token is marked as invalid in the Smart Communications database if the status or errorCode parameter has one of the following values:
- INVALID_ARGUMENT
- UNREGISTERED
Examples of responses from the FCM service:
- HTTP error code = 400:
"error": {
"code": 400,
"message": "The registration token is not a valid FCM registration token",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
"errorCode": "INVALID_ARGUMENT"
}
]
}
- HTTP error code = 404:
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "UNREGISTERED",
"details": [
{
"@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
"errorCode": "UNREGISTERED"
}
]
}
Selecting customer devices for messaging
In the Loymax Smart Communications interface, you can configure whether to send messages to all existing push tokens associated with a customer or only to the token most recently added to the database. Other devices will be ignored in the latter case. By default, the setting is To all devices. For more information on push messaging settings, please refer the article. | ![]() |
Note:
Loymax Smart Communications does not perform delivery confirmation for push notifications.
Read also: