Question

My question is similar to BlackBerry push client application subscription but still i have doubts in that ..plz clarify.My doubt is When i tried with sample Push Initiator which comes with Push SDK and Sample Push-enabled application[Push Capture] from github i can Receive Pushes in that sample application.But when i try the same logic in My own client application i am not receiving Pushes..

Steps I followed:

  1. Registered with Push service and got Confirmation mail with AppID,Password and PPG url.

  2. With those details i set to receive Pushes like:Called the create function and createChannel,success callback was called and it returned device token also. But still i am not receiving Pushes in my application.Plz help where i am lagging.

Question:

How Pushes differentiate the client app and devices while sending Pushes. NOTE:i used the same AppID which i used for sample app.

Was it helpful?

Solution

when i called create function and createChannel,success callback was called and it returned device token also. When i received Push,onInvoke event was called and action was bb.action.PUSH which denotes we received a Push..Since i didnot add Notifications to Hub i didnot recognize previously. Also we cannot use same AppID for different applications.It will create problem

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top