07-15-2013 08:40 AM
I am using Blackberry PPG push to implement push enabled application, When I try my application with EVAL credentials, it works fine, get resgitered and receives push notifications.But when I edit credentials from Blackberrt Production service, I get registration response 2. I can see my applicaion active on CP Admin portal.
Here are credentials I am using for production
ar port = 3**19;
var BBserverUrl = "http://cp**2.pushapi.na.blackberry.com"; //listen-to URL
var appId = "**2-82aB8R8466e6i8r0M83582e2i64862aa29k1"; //unique app-id, provided by RIM
var max = 100; //max queue size
var wakeUpPage = "index.html"; //if the app is closed and push comes in, wake up here
blackberry.push.openBISPushListener(ops, onPush, onRegister, onSimChange);
Please help me getting it worked.
thanks in adnvance.
Solved! Go to Solution.
07-17-2013 04:56 AM
I can help you run the example, base on this example, you write what you want.
Please find out: "BB10-WebWorks-Samples-master ---> pushCapture".
Please get it, build and run on your device. We shall continue later (by this room, and step by step.)
07-17-2013 10:15 PM - edited 07-17-2013 10:15 PM
I used BB10, so I just talk about BB10.
Now: Config server side. Please my attached file (Server.docx).
- I used SDK for Windows: http://developer.blackberry.com/native/downloads/f
- Start SDK. See illustrated image:
- Try to https://localhost:8443/low-level-sample .
- Go to installed directory of SDK, search *PushSDK.properties* for low level set
CPID is got from email, that had been sent by BlackBerryPushServices@blackberry.com :
- Stop SDK. Start SDK.
07-18-2013 12:51 AM
I have already used EVAL crdentials and it is working fine.
I am using BB7 OS and lower, when I moved service to Production it stopped working.
07-18-2013 01:04 AM
Please come here to get code