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

Java Development

Reply
New Contributor
Posts: 2
Registered: ‎09-14-2012
My Device: Bold 9790
My Carrier: Movistar
Accepted Solution

About BIS and public PPG for push notifications

Hi there!

 

My name is Christian and I'am really newb on everything related to the mobile devolopment. However I have had to develop a push server initiator and a small client side app for tests and so.

 

Along the Push Service Registration process I got from RIM all the info required (PPG url, app ID, cp ID, password, etc) But I have some doubts and questions.

 

The first one is related to Content Provider ID and PPG's URL

 

- What's http://cpXXX.pushapi.eval.blackberry.com for?

So far I tested. "pushapi.eval.blackberry.com" works fine either client or server side. I mean, using that URL my push initiator was able to send notificacions and, in the other side, client was able to register and recive notifications.

 

That brings me to the next question... What should I do with  Content Provider ID (I didn't use it yet)?

 

I have read that in production, PPG URL is something like "http://cpXXX.pushapi.<region_code>.blackberry.com". (here make sense for me that Content Provider ID)

 

Another question is If that kind of URL is for server side aswell? Or it's just for client side?

 

Lately our customer has been asking us for blackberry PPG's IPs and Ports because the Push Server Inititator will be located behind a firwall and they need enable just the IP and Ports required. (white list)

 

We would like answer to them all the required for let Push Serve Initiator connect either Eval PPG or Production PPG.

 

Ty very much in advance!!

 

P.S: Sorry for my english. I'am working hard on it  ;-)

Developer
Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

Re: About BIS and public PPG for push notifications

[ Edited ]

Hello,

 

  You use below url into Server Code

 

  https://cpxxx.pushapi.na.blackberry.com  Please use CPID instead of xxx .

 

  (e.g If your cpid = 234 so now url  " https://cp234.pushapi.na.blackberry.com").

 

   Note :- If you transfer evl to production then change below detail into server side and client side.

 

    Server side :-  appid, password, url

    Client side    :- PUSH_PORT,BPAS_URL,APP_ID.

 

------------------------------------------------------------------------------------------------------------------------

 

feel free to press the like button on the right side to thank the user that helped you.

Developer
Posts: 90
Registered: ‎04-03-2012
My Device: 9100
My Carrier: movilnet

Re: About BIS and public PPG for push notifications

The eval account is necesary, and u will still using it  for some time (3 months) i think,then  u will need to reg the produccion account and u get the new paremeters Conten provider ID and the PPg url, the client side port and yes the xxx=  Conten provider ID, http://cpXXX.pushapi.eval.blackberry.com

New Contributor
Posts: 2
Registered: ‎09-14-2012
My Device: Bold 9790
My Carrier: Movistar

Re: About BIS and public PPG for push notifications

Ty very much to you both. Now i see clear how PPG url works.

 

Finally, do I should just configure Proxies and firewalls by domain name (aka *.blackberry.com) and don't be worry about IP's and Ports?

 

I would apreciate any info realted to this subject.

 

Ty again!