Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development

Reply
Trusted Contributor
Posts: 174
Registered: ‎09-04-2011
My Device: Bold
Accepted Solution

Clean up push registration with Blackberry Push server on app deletion

Hi, expert,

 

when our app is deleted, our app ( it is has a background alternate entry point and it is always running) would detect the deletion and it would try to perform a de-registration with Blackberry Push server. However if user chooses to reboot right away ( or there is no network connection at that point), our code might not get time to finish the de-registration.  Right now, we are using the registration with http directly at our code. However there is also push SDK which would register and deregister thru OS. I know with direct http, there is no way that OS could help us for de-registration here. What about push SDK? Will OS handle the de-registratioin at this case if OS sees the OS for the push registration is deleted? I could not find any confirmation on BB push documentation.

 

Thanks very much for your insight.

 

 

Trusted Contributor
Posts: 174
Registered: ‎09-04-2011
My Device: Bold

Re: Clean up push registration with Blackberry Push server on app deletion

[ Edited ]

One clarification. What I mean about Push SDK is the Blackberry Push API: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/push/package-summary.html)

Trusted Contributor
Posts: 174
Registered: ‎09-04-2011
My Device: Bold

Re: Clean up push registration with Blackberry Push server on app deletion