pushNotificationRegistrationError

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
pushNotificationRegistrationError <pErrorMessage>
Associationsstack
Summary

Sent when the application fails to register to receive Push Notifications form a Push Notification Server.

Introduced5.5
OSios, android
Platformsmobile
Parameters
NameTypeDescription
pErrorMessage

The description of the Error Message.

Example
on pushNotificationRegistrationError tMessage
   answer "Failed to Register for Push Notification:" && quote \
         & tMessage & quote with "Okay"
end pushNotificationRegistrationError
RelatedMessage: pushNotificationReceived, pushNotificationRegistered
Function: mobileGetDeviceToken
Description

Handle the pushNotificationRegistrationError message to inform the application that registration with the Push Notification Server failed.

The pushNotificationRegistrationError message is handled once the application starts up and tried, but failed to register with the Push Notification Server.

The application only tries to register with the Push Notification Server if the application was configured to handle Push Notifications in the pList (iOS) or manifest (Android).