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
Contributor
ElGriego
Posts: 22
Registered: ‎03-27-2013
My Device: 9520

Enabling Push Notifications / BIS

I am using the sample code to get push notifications on my device. I am using a php script to send the notifications. However i never get them. Does that mean that i dont have BIS enabled? What exactly is BIS ? I have 3g internet if this is what is about.

Please use plain text.
Retired
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: Enabling Push Notifications / BIS

Hi,

 

Which sample code are you using exactly?  The one written in Java for BlackBerry 7 and lower?  Or, a different language for BlackBerry 10?

 

What's the exact response that you get after you send the push from your PHP script?  Did it say it was accepted for processing (code 1001)?

 

Thanks,

 

Matt

Please use plain text.
Contributor
ElGriego
Posts: 22
Registered: ‎03-27-2013
My Device: 9520

Re: Enabling Push Notifications / BIS

I am using the one for BlackBerry 7 and lower. The php script returns :

Operasi push berhasil Our PUSH-ID: 1364397983.2221
array(5) { [0]=> array(3) { ["tag"]=> string(3) "PAP" ["type"]=> string(4) "open" ["level"]=> int(1) } [1]=> array(4) { ["tag"]=> string(13) "PUSH-RESPONSE" ["type"]=> string(4) "open" ["level"]=> int(2) ["attributes"]=> array(4) { ["PUSH-ID"]=> string(15) "1364397983.2221" ["SENDER-ADDRESS"]=> string(53) "http://pushapi.eval.blackberry.com/mss/PD_pushRequest" ["SENDER-NAME"]=> string(21) "RIM Push-Data Service" ["REPLY-TIME"]=> string(20) "2013-03-27T15:26:22Z" } } [2]=> array(4) { ["tag"]=> string(15) "RESPONSE-RESULT" ["type"]=> string(8) "complete" ["level"]=> int(3) ["attributes"]=> array(2) { ["CODE"]=> string(4) "1001" ["DESC"]=> string(45) "The request has been accepted for processing." } } [3]=> array(3) { ["tag"]=> string(13) "PUSH-RESPONSE" ["type"]=> string(5) "close" ["level"]=> int(2) } [4]=> array(3) { ["tag"]=> string(3) "PAP" ["type"]=> string(5) "close" ["level"]=> int(1) } } PUSH-ID: 1364397983.2221
REPLY-TIME: 2013-03-27T15:26:22Z
Response CODE: 1001
Response DESC: The request has been accepted for processing.
Please use plain text.
Retired
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: Enabling Push Notifications / BIS

The logs on our eval PPG server tell me that the PIN you specified to push to is either an invalid PIN or you have not registered from the push-enabled application on your device.

 

Matt

Please use plain text.