Apple Push Notification with Sending Custom Data

前端 未结 3 1787
终归单人心
终归单人心 2020-12-04 06:31

I am sending push notifications from php job application to iphone. I am sending push notifications regarding new jobs. Is this possible that when user click on the view of

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 06:48

    We can add more than one custom data,but, if i use sub_action as the name, my iPhone can't receive push msg

    Java:

    PayLoad payLoad = new PayLoad();
    payLoad.addCustomDictionary("action", action_type);
    payLoad.addCustomDictionary("subaction", sub_action_type);
    

提交回复
热议问题