How to get the info log for geo push (examples)

0 votes

 

related to an answer for: How to trace the geo push
asked Aug 12, 2016 in Corona by tianchoh (10 points)

1 Answer

0 votes

Hi TianChoh,

Greetings!!!

Currently we don't have any sample source code for this. But you can parse the Notification data based on the keys provided by below:

Notification Data

A notification event returns a table of information which you can use to manage the specific notification. This table includes the following:

  • event.alert — string value consisting of the message to display.
  • event.applicationState — string value of either "active" or "inactive".
  • event.badge — number representing the badge count (iOS only).
  • event.custom — if this table exists, there may be data from the push service that helps your app react to the data. This is known as deep linking.
  • event.name — string value of "notification".
  • event.sound — string value representing a sound file, i.e. "alarm.caf".
  • event.type — string value of "local" for local notifications or "remote" for push notifications.

Let me knwo if it helps.

Thanks

Vishnu Garg

 

answered Aug 12, 2016 by Vishnu Garg (674 points)
edited Aug 12, 2016 by shepAdmin
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...