Contents
Display Legacy Contents

 Print
    Push Notification Get Lost Message    
Retrieves the content of a push notification message.

Parameters

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.
  • 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.

See also
Samples

 
 
Updated : 2/2/2018 1:55 PM