Skip to Content

Unregister for Push using kapsel plugins is not working

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 14, 2015 at 02:07 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.