05-28-2013 09:58 AM
Just now checked the push sample application in BB10 its working fine and able to recieve the push nootification from the server..
Could someone clarify me the below points..
1. Is the username and passwod required while i am using the production environment.
2.as for testing i downloaded the push sdk and it contains tomcat with high and low level applications to send the messages to the devices.. do we need to have such things to register the device.in production?
3.What information nedded to succesfully get the notification fom push server to device ?
05-28-2013 11:41 AM
For 1., what username and password are you referring to? You do need an application ID and password to be able to send pushes (if not using BES push).
For 2, the Apache Tomcat that comes with the Push Service SDK is just to deploy our high-level and low-level sample Push Initiators. You don't have to use Tomcat at all with the SDK if you don't want to. The Push Service SDK is just a set of Java APIs that you can use to develop your Push Initiator (your server-side application that sends out pushes).
3. There's a good deal of documentation found here: https://developer.blackberry.com/develop/platform_
Hopefully, it can help you determine what you need to get the push sent.
The most important items you need are application ID, password, PPG URL, and list of PINs that you wish to push to (these BlackBerry PINs must have your application running and be registered to receive pushes).
05-28-2013 12:27 PM
05-29-2013 09:44 AM
You only use the password when you're sending out pushes for your application.
It uses basic authentication with a username (the application ID) and password.
Let me know if that didn't answer your question.
05-29-2013 09:50 AM
With the sample application .. when i am registerting with push intiator it asking me the username and passowrd dialog... how this wok in the production environment
05-29-2013 09:57 AM
That username and password actually has nothing to do with your application ID and password.
When you confirgured the sample application, you must have left the "Subscribe with Push Service SDK" checkbox checked.
If you uncheck it and save the configuration, you would no longer need to enter a username and password when you go to register.
The "Subscribe with Push Service SDK" checkbox refers to a feature offered by our high-level APIs in the Push Service SDK. It provides subscription servlets so that you can let your Push Initiator know which users you have that you can send pushes to.
There has to be a way for you to communicate to your Push Initiator the tokens (PINs) of the devices that have registered to receive pushes for your application. This "Subscribe with Push Service SDK" features is one example of how to do that.