[問題]ios Push Notification推播問題
大家好!
小弟有個問題就是我用Apple Development IOS Push Services 用實機推播,
發現發送推播訊息,收到的人會聽到推播的聲音兩次,而且上面的註冊中心都沒有訊息說
請問各位前輩該如何解決呢?謝謝!
//註冊通知中心
[application registerForRemoteNotificationTypes:UIRemoteNotificationTypeBadge|
UIRemoteNotificationTypeAlert|
UIRemoteNotificationTypeSound];
接收到訊息:{
aps = {
alert = "\U5b89\U7881\U63a8\U64ad\U6e2c\U8a66\U4e2d~~~";
badge = 1;
sound = default;
};
}
接收到訊息:{
aps = {
alert = "";
badge = 0;
sound = "";
};
}
發一次訊息,出現兩次訊息,第二次為空的!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.243.101.31
※ 編輯: joojooman 來自: 111.243.101.31 (04/03 16:23)
※ 編輯: joojooman 來自: 111.243.101.31 (04/03 16:45)
推
04/04 17:27, , 1F
04/04 17:27, 1F
推
04/05 13:29, , 2F
04/05 13:29, 2F
→
04/06 18:06, , 3F
04/06 18:06, 3F