根据这些Docs发送推送通知时,"通知"参数是可选的。我现在面临的问题是,如果我省略了通知参数,则会发送通知但IOS不会收到通知。
工作推送
insert into table FactUpdated
select colm_name
from
(
select colmn_name, floor(rand()*116219) rand_key
from FactTable limit 2942699191) line
join DimTable
on FactTable.rand_key = DimTable.id;
无法正常工作
{
"to": "cQeIXyI-3B4:APA91bFiycO1OWFsV_HSp0_rV5hdYl5HCRCfjkTTbiW5Isnlg_b-97nN5oc5LkZ82gkKOSL8oRRhDAY_y3ql3sbjTyKHtzAxrucmukjBOf3zWSnY6LI_3IF74oXwJzxMiELNCmFqYHuE",
"notification": {
"title": "A Title", "body" :"A Body",
"click_action":"My_Category"
},
"priority": "high",
"data":{
"message": "test message"
}
}
google文档是否准确说明通知参数是可选的?
如果是,如何在没有此参数的情况下将通知推送到IOS。