PN Options

Object with push notification sending options.

Parameters

  • collapseKey – receives a custom string as a key. If a user’s device offline only the last push notification with the same collapse key will be received.
  • dryRun – indicates that this push should be sent or if it is just testing. Native support by FCM. The service is checked from Appery.io side for iOS devices.
  • priority – the priority of the message. The value 5 for iOS is interpreted as normal for Android. Value 10 for iOS interpreted as high for Android. Setting to Default (or null in the REST request) will stipulate the default server behaviour according to the service policy (for Apple Push Notification service – 10, for Android OS – normal).
  • restrictedPackageName – specifies the package name of the application where the registration tokens must match in order to receive the message.