GCM works fine on Android but not working on iOS

后端 未结 2 1555
眼角桃花
眼角桃花 2020-12-21 06:13

I\'ve succefuly implemented the GCM for android but when I tried to implement it to my iOS version I won\'t get the push messages.

I got my gcm token at the iOS vers

2条回答
  •  醉话见心
    2020-12-21 06:31

    Unbelievable, had to change "data" with "notification". The payload for iOS is bit different. More info can be found here

提交回复
热议问题