On BIS and public PPG for push notifications

Hello!

My name is Christian and I'am really newb on everything concerning the mobile devolopment. However, I had to develop a server push initiator and a small client side app for testing and so.

Along the registration process for the Service Push, I received all the necessary info from RIM (url PPG, app ID, cp ID, password, etc.), but I have some doubts and questions.

One is related to a provider of content and PPG URL ID

-What is http://cpXXX.pushapi.eval.blackberry.com for?

So far, I've tested. "pushapi.eval.blackberry.com" works well on the side of client or server. I mean, using this URL my initiator to push could send a notificacions and, on the other side, the client was able to register and recive notifications.

Which brings me to the next question... What should I do with a content provider ID (I don't even use it)?

I read that in production, PPG URL is something like '. http://cpXXX.pushapi.» BlackBerry.com".» (here make sense to me that content provider ID)

Another issue is that if this kind of URL is for server-side? Or is it just for the client side?

Lately our client we asked for the IP addresses and Ports of blackberry PPG because the Push Server Inititator will be located behind a firewall and they must activate just the IP address and Ports required. (white list)

We want to meet all you need to grow an initiator to connect Production PPG or PPG Eval.

Ty a lot in advance!

PS: Sorry for my English. I'm working hard on it ;-)

Hello

You use below url in Server Code

https://cpxxx.pushapi.na.BlackBerry.com  Please use CPID instead of xxx .

 

 (for example if your cpid = 234 so now the url " https://cp234.pushapi.na.blackberry.com").

Note:-If you transfer evl in production can convert server-side and client-side detail below.

Beside Server :-appid, password, url

Client-side:-PUSH_PORT, BPAS_URL, APP_ID.

------------------------------------------------------------------------------------------------------------------------

feel free to press the button like on the right side to thank the user who has helped you.

Tags: BlackBerry Developers

Similar Questions

  • IOS app do not compile in phonegap build after adding support for Push Notifications

    As the title says, I have an app for android and iOS using phonegap to build and push-plugin to the repository of the NPM. It worked perfectly for android, but for iOS, the events have not fired. Then I read that the AppID should have the active possibility of push notifications, so I added a development certificate and certificates and files of mobile provision changed.

    After that, the application is not compile more. I also added a certificate SSL Production to my App ID and certificate and files available mobile since I read the development of those who do not work with Phonegap, built on an old post, but that no longer works.

    Am I missing a step to make it work for the iOS with Phonegap Build? Thanks in advance

    Looks like commissioning your profile does not include your developer certificate. Try re-creating your provisioning profile.

    Maybe useful post:

    IOS create problem certificate does not match profile

  • Exception in Push Notification BIS

    Hello

    I'm new to the development of BlackBerry applications. I wrote a Java for Push Notification using PushSDKProperties class.

    My class is given below.

    public

    class {PushServer}

    private public static String password = "password";

    private public static String targetURL = "targetURL;

    private public static final String APP_ID = "app_id";

    private public static PushSDKProperties getProperties() {}

    PushSDKProperties = PushSDKProperties

    new PushSDKPropertiesImpl();

    () pushSDKProperties.setPpgAddress

    targetURL);

    () pushSDKProperties.setUsingPublicPush

    ( true) ;

    () pushSDKProperties.setHttpIsPersistent

    ( fake) ;

    pushSDKProperties.setHttpConnectionTimeout (60000);

    pushSDKProperties.setHttpReadTimeout (120000);

    () pushSDKProperties.setUsingXmlParserDtdValidation

    ( fake) ;

    System.

    out.println (pushSDKProperties);

    Return pushSDKProperties;

    }

    public public static Date of futureDate (int day) {}

    long futureDateMS = System.currentTimeMillis () + ((long) days) * 24 * 60 * 60 * 1000;

    Date futureDate =

    new Date();

    futureDate.setTime (futureDateMS);

    Return futureDate;

    }

    public public static void main (String [] args) {}

    try {

    IdGenerator idGenerator =

    new IdGeneratorImpl();

    = Address list

    new ArrayList();

    DeliverBeforeTimestamp date = futureDate (90);

    Addresses.Add ("push_all");

    () Addresses.Add

    "correct_address");

    () Addresses.Add

    "Incorrect_address");

    PushMessageControl = PushMessageControl

    new PushMessageControl (APP_ID idGenerator, addresses);

    pushMessageControl.setDeliverBeforeTimestamp (deliverBeforeTimestamp);

    Content content =.

    new TextContent ("Hello World");

    PapService = PapService

    new PapServiceImpl();

    PushSDKProperties pushSDKProperties = getProperties();

    Customer HttpClientImpl =

    new HttpClientImpl();

    client.setPushSDKProperties (pushSDKProperties);

    papService.setHttpClient (customer);

    papService.setPushSDKProperties (pushSDKProperties);

    System.

    out.println ("1". (+ papService);

    System.

    out.println ("2". (+ pushMessageControl);

    System.

    out.println ("3." Until this exception no.");

    System.

    out.println ("4." + pushSDKProperties.getPpgAddress ());

    String pushId1 = pushMessageControl.getPushId ();

    PushResponse response = papService.push)

    APP_ID, password, APP_ID, pushMessageControl, content);

    System.

    out.println (Response.GetDescription ());

    System.

    out.println (Response.GetResult ());

    System.

    out.println (Response.getPushId ());

    System.

    out.println (Response.GetCode ());

    }

    catch (UnauthorizedException at an e) {

    e.getCause ();

    }

    catch (E PushSDKException) {

    e.getCause ();

    }

    catch (E BadMessageException) {

    e.getCause ();

    }

    catch (Exception e) {

    e.printStackTrace ();

    e.getCause ();

    }

    }

    }

    My code works fine for a single address (correct address / valid device) and my device is to pass the Notification Message.

    My problem is with the sending of the Notification to multiple devices. If I give more than one address and one of the addresses is wrong / bad / address belongs to the unit is turned off, then his throw me the BadMessageException - response Code 2000 invalid / missing attribute...

    My Question is how can I make my code works regardless of the address correct or incorrect, I want to say how can I get the code of individual response for each address / device.
    I want success message to the correct and invalid address error code / message for the invalid / incorrect address.

    What should I do? Any code changes or anything?

    Help, please.

    Thanks in advance...

    Even if it is an arbitrary pine which is 8 digits then you should not return BadMessageException.

    The General to push hypothesis, is that you're doing a fire-and-forget.  Send you the thrust of all of the addresses and it will be reliable send it to a BlackBerry smart phone (if this device has your running application has registered to receive impulses) without requiring you need to check on the status of the final delivery.

    On your side, you must maintain a list of the pins that are registered to receive the growth of your application so that you know what devices you can send push to.

    Matt

  • with regard to the push notification

    Hello
    I implement push notification in my application and I register for push and received credientials of push notification. I just want to know which register credientials with my code so I need bis...?

    Consumer Push requires BIS - B.

    If the phone you are trying to push to SAY b, then you won't be able to push him.

  • AIR on iOS 15 8 - unwanted Push Notification

    Since the upgrade of my devices for iOS 8, I continue to have an Alert for Push Notification window even on applications which do not have this notification: 'MyApp would like to send you Notifications.

    I have seen that it can be caused by an older version of AIR. Problem is that I already tested in the latest version of the AIR SDK (15.0.0.249) and the Dungeon of push notification appears.

    Otherwise, the real problem seems to be that in my other requests that already have the push, it seems to conflict when you refuse to push first opened. It cause the application freeze and the strength to kill him.

    Do you know why it happens?

    Thank you very much

    It is not normal if you have no notifications at all, but with iOS 8 I think you get now requested permission for local communications, even if you do not push notifications. I see that the dialogue on applications that use local notifications.

  • How to deploy Push Notification plugin for PGB CLI 6.3.0 Server and Client?

    Hello friends, I want to deploy the plug-in can push notification app, compiled by PGB CLI 6.0. But suggest to many doubts after reading the documentation... example: how to get the ID register which is located on the client side in mobilies? or you do not need this ID? If anyone has a site with step a step to set up the server and the application, please post the link here... I'm full of doubts... Thank you very much.

    Here is a detailed tutorial of the push plugin.

    Here's how to set up your credentials when you use PhoneGap Build.

  • BlackBerry app Push Notifications using PushWoosh does not receive notifications when closed and in the background

    I'm developing an application of crossed with phonegap and Jquery mobile platform. I'm trying to implement push notifications for the blackberry application using PushWoosh.

    I noticed that I'm not able to receive notifications when the application is in the background, or when it is closed. I get notifications only when the application is in the foreground.

    Any suggestions on this problem?

    I can use all the help.

    The app is a phonegap application Webworks.

    Thank you.

    Info:

    PhoneGap 2.8.0

    jQuery 1.9.1

    jQuery 1.3.1 Mobile

    SDK WebWorks

    PushWoosh

    Hello

    We just push our BB HTML5 / Webworks sample to our github repo:

    https://github.com/shaders/push-notifications-SDK/tree/master/SDK%20Sample%20Projects/BlackBerry-htm...

    Team Pushwoosh

    www.pushwoosh.com

  • Get a Push notification on app without head and application

    Hello

    I have included an app without a head for my current application, because I am handling becomes class PushService when push comes this application without a head. But I pushservice in running my application also to get called when comes to push, and my request for traffic not called when the push... How can I get push notifications in both without head and noraml app.

    You can take a look at the documentation
    https://developer.BlackBerry.com/native/documentation/Cascades/device_platform/headless_apps/

  • I am not able to register for a push notification

    Hello

    My request for id and my password I receive service push RIM has expired. Then I made new registration to push eval for two weeks and I don't have the new ID and I idn can't get response from RIM to extend the expiry date.

    Anyone know if there is problem with push notification?

    Thank you

    Rather than to submit a new application for the same application (it will get rejected as a duplicate), please send an email to [email protected] with the request. Be sure to include all information for your application that needs to EVAL period.

  • BB10 - customization BB Hub and Push Notification Messages

    Hi all.

    The push notification are push to the notification in the hub of BlackBerry. Is it possible for example to create a new label to a custom in the hub application and have the notification being pushed in the custom label?

    No, it is not possible for third-party applications.  Only some apps approved (such as FaceBook, Twitter and LinkedIn) have had access to their own 'space' in the hub.

  • Push Notifications for App shared accounts?

    I know to push Android is not supported at the moment, but if I use a single app account and using the same sheets for Android and iOS there will be a weirdness when I send a push notification?

    In other words, if both Android and iOS apps use the same app account, push still working for iOS and appear just not on Android?

    Thank you!

    Yes, that'll be fine.

    Neil

  • Support for Android Push Notifications

    Hi all

    I found what I was looking for here: Android Push Notification

    But I wanted to follow up a little further and see if the notifications Push Android will apply at any given time? Thank you.

    Us plan to it but don't have a timeline. Do you need it to send notifications of text? Or to trigger a background download?

    Neil

  • Push notifications for Pro subscription non-kiosque apps?

    I am struggling to determine the answers to some questions that different sources seem to suggest different things, so:

    • We have a professional subscription DPS, not business
    • We create a multi-question application
    • As we are not publishing content on a calendar, we do not want to create a kiosk app

    Are we able to have push notifications for users that new content is available to download?

    I thought I had read that it was possible, but that the notification (for now) would be limited to a badge on the icon showing the number of new items of content available. Now, I'm not sure.

    If it * is * possible, that someone know a guide for the right settings to apply when you configure the application in DPS App Builder?

    Finally - assuming it's possible - push notifications appear in the development version of the application?

    See you soon,.

    Keith


    Yes, if you create a certificate to push and turn on notifications of type push when you build the application, a badge will appear on your non-kiosque application icon to newspapers when you publish a new folio (click Notify in Folio Producer). Read the release guide for more information on creating the certificates to push and which allows to push. (We hope to have notifications of transmission available in standard text based push later this year.) For now, it's just the Red badge).

    No, push notifications do not appear in the development version of the application. There is a complicated way to make it work in a development application, but it is not worth.

  • Push notifications for kiosks

    Hi guys,.

    Small question about push notifications...

    I thought that I had put in place of notifications of type push correctly, but they were not involved. I went in the application designer to see if I could understand where I was wrong and I (think) put the right certificate in where the certificate of Push Notification should be. I tell myself that if I break this certificate in where I'm homesick that I should be good to go.

    I opened what I believe is the correct certificate of Push notification and have included a screeshot of its properties.

    Can someone tell me if this looks correct before you rebuild and resubmit the app for Apple?

    Any help is appreciated.

    Thank you!push.png

    Test your Push notifications using the method described in this article: http://www.adobe.com/devnet/digitalpublishingsuite/articles/dps-push-notification.html#art iclecontentAdobe_numberedheader_3 , if this does not work, re - create the certificates, rebuild the application. Yet once, test it in developer.ipa before submitting to Apple.

  • Push notification without BIS...

    Dear friends...
    Can I receive a push notification on file .apk (Android application) running on the 10 Blackberry without BIS?

    Best regards.

    Thank you...

    BlackBerry 10 does not use BIS.

Maybe you are looking for