04-07-2014 07:57 AM
I have had experience with integrating Urban Airship with BlackBerry on both platforms, Java and BB10 Native alike.
I used examples from the web to achieve this.
That was 2 or 3 months ago.
I'm using the same code now, even the same credentials (on both BB10 and java), and the push notifications are not arriving to the BlackBerry device. I checked the credentials several times, and they are all correct (UA and BB alike).
On the BB10 device, I can register and unregister device for listening, and that works just fine.
I run test with deregistered device and trying to send it a push message from the UA side - and I do get a notification/error that the device is not longer listening to messages (something like that).
I register the device, receive ok status, try to send the message from the UA infrastructure again,
and see no results.
All I can see, on the UA side, that the message has been prepared and sent, but no message has been received on the device end.
What else could I try, to get it to work?
04-07-2014 08:02 AM
Could you try pushing through the BlackBerry servers directly, removing Urban Airship? This would eliminate any issues that may exist with UA.
Have you queried the BlackBerry servers to determine if the device is registered properly to receive push messages?
04-07-2014 08:14 AM
Try this sample:
04-07-2014 08:56 AM
Thank you for the direction to head.
I'm at the fourth step of the samlpe,
BLACKBERRY_PUSH_BOUNDARY = "asdfglkjhqwert";
I do not have any information in the email about this boundary.
Am I missing something, or is this a deafult value I should not worry about?
04-07-2014 08:58 AM
You can leave the value as-is. The boundary value just needs to match a value in the header, it lets the BlackBerry server know how to parse the message.
04-07-2014 09:14 AM
ok, we might be a step closer.
When trying to receive PIN's, I get the following error/message:
Failed to receive PINS:
Host not found
same for sending the message:
Failed to send Push:
Host not found
I checked the credentials again, they are all correct.