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

BlackBerry Push Development

Reply
New Contributor
victoriopui
Posts: 3
Registered: ‎10-31-2013
My Device: Q5
My Carrier: 3

Send push message more than once in a row

Hi,

I have successfully initiate push message using PHP script to Android ported apps. My question is like the subject, is it possible to send push message more than once in a row using blackberry push service? Because i have tried that and the device only received the first push message.

 

I am using php script in this thread

 

http://supportforums.blackberry.com/t5/Android-Runtime-Development/Unable-to-send-push-message-on-se...

 

and i tried calling the function twice

 

$bbpush->send_notification($registatoin_ids, array("status" => 100, "total" => 2, "data" => '[
            {"key1":"val1","key2":"val2"}
    ]'));
$bbpush->send_notification($registatoin_ids, array("status" => 100, "total" => 2, "data" => '[
            {"key1":"val1","key2":"val2"}
    ]'));

 Glad if anyone could answer :Cowboy:

Please use plain text.