Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
02-20-2013 12:29 PM - edited 02-21-2013 07:22 AM
which are the possible values for the subscription query status? What is the meaning of each status?
In the documentation ( http://docs.blackberry.com/tr-tr/developers/delive
AFAIK there is active, suspended, cancelled and unkown...
02-20-2013 02:10 PM
The values are actually active (the user is actively subscribed), suspended (the user's subscription has been suspended), unsubscribed (not "cancelled" - the user's subscription has become inactive), and unknown (the user's subscription could not be found).
I will contact our docs team to get that "cancelled" updated to "unsubscribed".
If you use the Push Service SDK, here is the corresponding class with the statuses:
02-21-2013 07:27 AM
but what state is get when the user uninstall the app? And what else when the user destroys the channer or the session?
02-21-2013 08:09 AM
In BlackBerry 10, when the user uninstalls the app it automatically does a destroy channel under the covers. Whenever a destroy channel is done, it unsubscribes the user from the BIS PPG and so the state of that user would be "unsubscribed".
02-22-2013 02:41 AM
One last question... when a user gets 'suspended' state?
I think the state is unknown if the user doesn't have installed the app ever. Is this it?
02-22-2013 09:04 AM
A content provider (who sends out the pushes through its Push Initiator) is able to suspend a user's subscription in the PPG if they see fit. It's not too typical though.
Yes, the "unknown" state is if the PPG has no knowledge of the device.