This repository was archived by the owner on Feb 7, 2019. It is now read-only.
This repository was archived by the owner on Feb 7, 2019. It is now read-only.
TrayNotification <missing message content> #98
Open
Description
I copied the sample code and actually recieve a message.
PushPlugin.onMessageReceived(function callback(message, data, notification) { });
However, my first parameter is null, the second one contains the data I actually need.
My console log:
02-13 16:29:00.040 14012 14101 W System.err: org.json.JSONException: No value for message 02-13 16:29:00.040 14012 14101 W System.err: at org.json.JSONObject.get(JSONObject.java:389) 02-13 16:29:00.040 14012 14101 W System.err: at org.json.JSONObject.getString(JSONObject.java:550)
How do I manipulate Notification (message and action)?
I'm using 0.1.2