03-07-2011 08:51 AM
We are going to launch our application to our private clients.
Our application pushes morning news.
If I send the link to the application to my client, they will click and install the application but I won't be able to send the morning pushes because I need to know their blackberry pin.
Do you have an idea to avoid to ask for their Blackberry pin ?
Solved! Go to Solution.
03-07-2011 09:41 AM
Can you not use the email address for the push instead of the BB PIN?
Are you using BIS or BES?
If they are BES users, there is a setting on the BES to add the PIN to the HTTP headers.
Have you checked the x-wap-profile http header? Not sure if it is in there or not?
03-07-2011 10:02 AM
I've worked with BES mainly but why do you need their PIN?
Are you using websignals?
Check out this link - websignals
a) The subscriber registers for a given service by providing either their
mobile telephone number or e-mail address.
b) The Content Provider sends an SMS or e-mail to the subscribers
device, containing an opt-in link.
c) When the subscriber clicks the link, a message is sent to RIM
indicating that the user has opted to receive web signals from the
given Content Provider
d)The Content Provider can then push the initial icon (associated with a URL
and a notification like a ring or vibration) by sending a Web Service or HTTP
packet to the RIM web signal service.
Hope it helps
03-07-2011 10:37 AM
I'm not using websignals. I'm pushing directly to my widget.
pushing to the browser like Web Signals does, the content is pushed to a custom
Java application (a push listener) that the content provider creates and distributes
03-07-2011 11:13 AM
I've never pushed outside of BES, but I would say you would still use the same process as websignals. i.e. registration using email or phone number
You can configure the BlackBerry Push Service SDK for public mode or enterprise mode. In public mode, you can develop Push Initiators that use the BlackBerry® Push Service in the BlackBerry® Infrastructure to deliver content to any device user who subscribes to your service. You must register with Research In Motion to use the BlackBerry Push Service. In enterprise mode, you can develop Push Initiators that use the BlackBerry® Enterprise Server to deliver content only to users who are activated with the BlackBerry Enterprise Server.
03-07-2011 11:27 AM
Couldn't you just grab the user's pin the first time they open your application and return it to your system via a webservice?
alert("PIN: " + blackberry.identity.PIN);
03-07-2011 11:39 AM
I'm creating a widget and I'm looking for something as you suggested.
Any other idea ?
03-07-2011 11:43 AM
It will work in a widget.
Did you add blackberry.identity to your config.xml?
<feature id="blackberry.identity" version="1.0.0"/>