Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

SMP3 SP09 - APNS notification on iOS

$
0
0

Dear All,

 

I failed to received any notification on the registered device on SMP3.0.

 

I done the following setup:

1. create AppID on apple

2. create provisioning file on apple and install to MacBook.

3. create APNS based on AppID created on (1) and install certificate to MacBook.

4. export APNS certificate as .p12 and setup on desired application SMP push certificate as "production"

5. apply code to xcode project and did received message like following at MAFLogonHandler.h

"APNS Device Token (xxxxx) has been registered for CIO (yyyyyyyy)

 

Problem:

6. I try to send command at Google Crome restClient with the following:

http://publicIP:8083/restnotification/application/com.company.project/user/smpAdmin

payload :

{

"alert": "TravelAgencies",

"data": "Notification to all devices registered to application",

"sound": "default"

}

code200.jpg

 

7. Device didnt received any push notification.

 

Suspect:

1. What is the correct port to be send at step 6?

2. on the smp guide "send push notification to the device", the respond on step 6 should display status 201 instead of 200. screen shot like the following

code201.jpg

 

Please suggest if i did missing any configuration

 

Thank you.

 

Regards

Choong


Viewing all articles
Browse latest Browse all 2756

Trending Articles



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