|
From: | Luiz Silva |
Subject: | Re: [Linphone-developers] Push notifications - iOS and Android |
Date: | Thu, 24 Apr 2014 09:39:18 -0400 |
Inside "alert" should contains "loc-args" (array of string), string values to
appear in place of the format specifiers in "loc-key"
{
"aps":
{
"badge":"1",
"alert": { "loc-key":"IC_MSG", "loc-args":["14075551234"] },
"sound":"ring.caf"
},
"call-id":"14075551234"
}
Furthermore, LinphoneAppDelegate -> processRemoteNotification expect
"call-id" as a root element.
regards
MC
Luiz Silva wrote
> Hello,
>
> I'm trying to send push notifications to the iOS app but I can't get the
> caller ID to be displayed on the notification.
>
> This is the message I'm sending (found on other email from this list)
>
> {
> "aps": {
> "badge":"1",
> "alert": { "loc-key":"IC_MSG" },
> "call-id":"14075551234",
> "sound":"ring.caf"
> }
> }
>
> Is that the correct message to send to iOS?
>
> Now on Android, the push messages are just meant for the chat or to
> wake-up
> the app on incoming call?
>
> Thank you,
>
> Luiz
>
> _______________________________________________
> Linphone-developers mailing list
> Linphone-developers@
> https://lists.nongnu.org/mailman/listinfo/linphone-developers
--
View this message in context: http://nongnu.13855.n7.nabble.com/Push-notifications-iOS-and-Android-tp182117p182147.html
Sent from the linphone-developers mailing list archive at Nabble.com.
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |