Updates
Added new parameters to the push/device/registration model:
Parameter | Type | Description | Example |
locale | String (optional) | Language settings for the device interface. | RU |
timezone | String (optional) | The time zone specified in the device settings. | Europe/Moscow |
notificationAlertAllowed | Boolean (optional) | The status of the permission to display push notifications. | true |
notificationDelayedViewEnabled | Boolean (optional) | Include the app in the overview (iOS only). | false |
timeSensitiveNotificationAllowed | Boolean (optional) | Time zone-sensitive notification display permissions (iOS only). | false |
lastSeenAt | Datetime | The time the server received the last registration request in UTC. The time should be entered manually because it’s not included in the request. | 2023-06-09T09:45:00.000Z |
These parameters allow you to:
- Exclude devices with push notifications disabled and focus mode enabled from the mailing list.
- Send a newsletter in a language that matches the language of the device interface.
- Consider the time zone when sending a newsletter to avoid sending push notifications at an inappropriate time.
- Send a newsletter to users who haven’t logged in to the application in a long time.
- Take device parameters into account when analyzing the results of the mailing for uploading to Excel.