Push Notification Get Lost Message
Kalipso - Form - Actions - Actions Description - Group Communications - Push Notification Get Lost Message
Last updated
Kalipso - Form - Actions - Actions Description - Group Communications - Push Notification Get Lost Message
Last updated
Retrieves the content of a push notification message.
Action available for the following operating systems:
Next Message - Select this option to retrieve the first message in the list of messages currently stored on the device.
Specify ID string - The ID of the message to retrieve.
Target From string - The control or variable where to save the sender of this message.
Target Received Date string - The control or variable where to save the sender of this message.
Target Received Time string - The control or variable where to save the sender of this message.
Windows
Use this tab if you want to retrieve the content of the message on Windows 10 platform-
Target Notification Type string - The control or variable where to save the type of notification message received. For more information on this check MSDN documentation on push notifications. It can be one of:
0 - Toast
1 - Tile
2 - Badge
3 - Raw
4 - TileFlyout
Target Notification Content string - The control or variable where to save the sender of this message.
Android
Android notification messages have a name/value pairs list. You can retrieve the items you need from that list by adding items to the list bellow.
Name string - The control or variable where to save the sender of this message.
Type - The type of value that is in this property. It can be one of:
1 - Int
2 - Long
3 - Short
4 - Boolean
5 - Float
6 - Double
10 - Bundle
101 - String
102 - CharSequence
103 - Char
104 - Byte
Target string - The control or variable where to save the sender of this message.
If a message is received and your application is not running, the O.S. will make the appropriate display of the message, and if you enabled the "Save messages when application is not active" option in your project properties, it will be saved locally on the device. You can use actions to retrieve the messages that were received while your application was not active.
Note that lost messages system is not a guaranteed to capture all messages while the App is in the background or closed. None of the operating systems, guarantees their delivery or that it will always deliver them to the App if the App is in the Background or closed.
Lost messages are mainly for data messages. Notification messages will normally not be captured. (On Android if application is open, they may be captured, because there is no way to tell them apart). If you want to handle lost messages, but also send a user notification, send 2 messages, one data message that will be saved if the app is closed, and one notification message so the user can be notified.
On iOS the target "From" is not available.
Be aware of limitations imposed by Apple/Microsoft/Google on messages sent to background Apps. See this notice from Apple documentation for example: The system treats background notifications as low-priority: you can use them to refresh your app’s content, but the system doesn’t guarantee their delivery. In addition, the system may throttle the delivery of background notifications if the total number becomes excessive. The number of background notifications allowed by the system depends on current conditions, but don’t try to send more than two or three per hour.