How can I get data or title from receiving notifications?

后端 未结 2 1359
梦如初夏
梦如初夏 2021-01-28 08:10

I create simple \"ParseStarterProject\" as default of parse.com project. It works. I send notification from one device to other device successfully via setchann

2条回答
  •  忘了有多久
    2021-01-28 08:39

    As Parse tutorial directs, you ca use JSONObject to set data and you can put whatever you want. Then when you receive Push notification you can have a access to read the previously prepared JSONObject. Please look at the Android tutorial https://parse.com/docs/push_guide#options/Android.

    Hope this helps, Regards.

提交回复
热议问题