Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3255

Kapsel Push notifications on iOS devices

$
0
0

Hi All,

 

We are stuck trying to send out Push notifications to iOS devices, we followed the excellent blow by Daniel Van Leeuwen Getting Started with Kapsel - Part 4 -- Push and the one by Daniel Silva [Kapsel] How to use the Push plugin on iOS , but unfortunately we are not able to see any notifications on iPhones/iPads.

 

We are using the Apple sandbox server, the certificate and provisioning profiles are OK for our bundle ID, and network communication seems to be OK as per the following Apple page: https://support.apple.com/en-us/HT203609

 

The devices are successfully registered with SMP and with APNS, we get a token confirmation but unfortunately the SMP log reads:

 

#WARN#APNSNotificationProcessor:extractPayload# Not a json object...#null#11798#null#3#null |

 

it connects successfully to the Apple sandbox servers:

getApnsService# APNS server address - gateway.sandbox.push.apple.com#null#11798#null#7#null |

getApnsService# APNS server port - 2195#null#11798#null#8#null |

getApnsService# APNS feedback address - feedback.sandbox.push.apple.com#null#11798#null#9#null |getApnsService# APNS feedback port - 2196#null#11798#null#10#null |

getApnsService# APNS feedback port - 2196#null#11798#null#10#null |

 

and then:

#ERROR# APNSNotificationStatusListener:connectionClosed##Connection closed: 8#null#11801#null#0#null |

 

Is the problem related to the JSON payload we are trying to use (NB: the same payload works 100% with Android and GCM)

 

This is the example payload:

 

{

    "alert": "New Push notification",

    "data": "Test message"

}

 

Thanks in advance for any help you might be able to provide.

Max


Viewing all articles
Browse latest Browse all 3255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>