Any update on the code snippet?

0 votes
Hi Rajeev, Any update so far for the code snippet? It has been more than a month already. Thanks.
asked Sep 22, 2016 in Corona by tianchoh (10 points)

1 Answer

0 votes

Hi Tian,

 

Apologies for the delay in response. Please find code snippet below which will help you to iterate your keys from notification event and let us know if you need any other help from our side:

local androidBundle = event.androidGcmBundle;

for key, value in sortKeyByValue(androidBundle) do
     print(key..value)
end

Regards,

Himanshu Sharma

answered Sep 23, 2016 by hs00105 (2,005 points)
Key value pair for push notification
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
...