cancel
Showing results for 
Search instead for 
Did you mean: 

Apple push notification

Former Member
0 Kudos

Hi Experts,

                         After Configuration of Apns Certificate on Sup Server(Scc) .I am not getting Apns Provider folder in the logs.Can this be Apns Certificate problem.                         (UnwiredPlatform_InstallDir\UnwiredPlatform\Servers\UnwiredServer\logs\APNSProvider).

                             Please any One can help me out .

Regards,

Hemanth

Accepted Solutions (1)

Accepted Solutions (1)

midhun_vp
Active Contributor
0 Kudos

Are you developing a native app or HWC app?

Have you configured your SUP server detail in SM59 of your SAP server?

What you found in the logs?

- Midhun VP

Former Member
0 Kudos

Hi Midhun,

               Thanks for your response.We are Developing a Native application(for ios).Here we are using a Data Change Notification to affect the data in the Middle ware.When ever data Changes in Middle ware  Push notification are Coming in Client Side .We are Using a Cache Policy of type Schedule .What is SM59?.We did nt get APNS Provider folder in logs while Configuration of APNS Certificate on SCC .And How Much time it take to a Push Notification to Come to Device.

     Regards

        Hemanth

midhun_vp
Active Contributor
0 Kudos

To enable push notification you need to implement DCN ( Data Change Notification ) in the SAP server.

Once a new data is created or an existing data is modified in the SAP server the notification will be send to the SUP server in the JSON format.

Best example is here, http://scn.sap.com/community/developer-center/mobility-platform/blog/2012/06/11/calling-the-sup-data...

SM59 nothing but you need to configure the SUP connectivity with the SAP server. Where you need to give the RFC destination.

- Midhun VP

Former Member
0 Kudos

Push Notification are Coming to device Some times.But not Working Some times.Whenever data Changes in Middle the Push Notification are Not Coming to device.Wat Could be the reason??.Few Notification are Coming after 2hours is it Correct??

How Much Time it Take for Push Notification to Come to Device if Device is Online??

Hemanth

Former Member
0 Kudos

Hi all,

          I have been unable to find an answer to is how long a push notification will sit in queue for an offline device before it will be removed.

Hemanth

midhun_vp
Active Contributor
0 Kudos

What type of application you are developing ? Is it a native app of HWC based?

Once the data change happens in SAP it should reach the device immediately. In the case of native application it may differ based on the sync running in the background. I did push notification with HWC where the messages were delivered immediately.

I am not sure about the validity of the message.

- Midhun VP

Answers (1)

Answers (1)

tahir_z
Contributor
0 Kudos

Hi,

What is version of SUP that you use?

Former Member
0 Kudos

Hi Tahir,

               We are Using SUP 2.1.3 Version

Advance thanks,

Regards,

Hemanth.

tahir_z
Contributor
0 Kudos

Be able to see the log tracing information you should increase the trace level to debug by changing

%SUP%\MessagingServer\Data\TraceConfig.xml and change it to Debug for Module APNSProvider

You may need to re-start server after changing.

Regards

Tahir

Former Member
0 Kudos

Thanks Tahir .I have Followed the steps Suggested by you. But When ever data Changes Occur in Middle Ware (in SUP Server Through backend)the APNS Notification not Coming to device .Only when we Sychronize in Client Side the data in is Coming .The APNS PUSH NOTIFICATION is also not Coming(working).

     What could be the reason.

     Regards

          Hemanth