cancel
Showing results for 
Search instead for 
Did you mean: 

Unregister for Push using kapsel plugins is not working

former_member190010
Contributor
0 Kudos

Hi Mobile Developers,

Right now I am working on a mobile app that first register in SMP, and then register for push in GCM.

The push notifications are arriving to my mobile device, so everything is working fine.

The only problem I am having is that I am not being able to unregister from push.

The code I am using is the following:

function unregisterForPush() {

             var nTypes = sap.Push.notificationType.SOUNDS | sap.Push.notificationType.ALERT;

                sap.Push.unregisterForNotificationTypes(unregCallback);

            }

I am basing all my code in this post:

http://scn.sap.com/docs/DOC-49529

Has anyone experienced this situation?

Thanks in advance.

Best Regards,

Emanuel

Accepted Solutions (0)

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

What is the mobile SDK version and SMP server you are working on?

Can you update Log level to DEBUG for PUSH component (and Trace Enabled) and then try, look into LOGS & TRACES tab, analyse the logs.

Regards,

JK