November 2, 2023

Updates

Added new parameters to the push/device/registration model:

ParameterTypeDescriptionExample
localeString (optional)Language settings for the device interface.RU
timezoneString (optional)The time zone specified in the device settings.Europe/Moscow
notificationAlertAllowedBoolean (optional)The status of the permission to display push notifications.true
notificationDelayedViewEnabledBoolean (optional)Include the app in the overview (iOS only).false
timeSensitiveNotificationAllowedBoolean (optional)Time zone-sensitive notification display permissions (iOS only).false
lastSeenAtDatetimeThe 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.
In this article
In this article