blackberry / BB10-WebWorks-Samples

WebWorks Samples for the BlackBerry 10 Platform
Apache License 2.0
154 stars 438 forks source link

Push Notification Issue with BES10 (Webworks Application) #237

Open nirav12 opened 9 years ago

nirav12 commented 9 years ago

Hi Team,

I am trying to implement push notification with BES10 for Webworks App.

For implementing push notification, i am using https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/pushCapture demo app.

After installing app in BB Z10 device. Doing below steps

1) Selecting Enterprise / BDS option. 2) Inserting App Id and Push Initiator application URL (High-level-sample) in the config option and saving. 3) Facing issue with Register Option. Its throwing error "The ppg url was considered invalid or missing".

I am not able to understand, i am selecting BES (Enterprise / BDS) not BIS. Then why i am receiving PPG error.

Thanks, Nirav

timwindsor commented 9 years ago

The push Capture demo is configured for public push, not BES Push. Remove this line from your config.xml: https://github.com/blackberry/BB10-WebWorks-Samples/blob/master/pushCapture/config.xml#L18

nirav12 commented 9 years ago

Thanks its working fine.

I am getting another issue with user subscribing. I am adding username:-check and password:-check in register tab. After clicking on submit button I am getting "Error:- subscribe to the push initiator failed with HTTP RESPONSE CODE:0".

But when i am calling url manually that time its working fine. For example

https://10.***.***.***:8443/high-level-sample/subscribe? appid=pushCapture&address=2AB56EF&osversion=10&model=blackberry10&username=check&password=check&type=enterprise.

Can you please help me regarding this.

timwindsor commented 9 years ago

@nmurugesu are you able to take a look at this Naveenan?

nmurugesu commented 9 years ago

I believe this error occurred because of a temporary network issue. He posted the same question in the forums as well.

Thanks

Naveenan Murugesu

Enterprise Solutions Manager HTML 5/WebWorks – Developer Relations

Office: (905) 629-4746 x15105

BlackBerry: (416) 710-0981

[cid:image001.jpg@01D09876.C3751EE0]

From: Tim Windsor [mailto:notifications@github.com] Sent: Tuesday, May 26, 2015 5:28 PM To: blackberry/BB10-WebWorks-Samples Cc: Naveenan Murugesu Subject: Re: [BB10-WebWorks-Samples] Push Notification Issue with BES10 (Webworks Application) (#237)

@nmurugesuhttps://github.com/nmurugesu are you able to take a look at this Naveenan?

Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-WebWorks-Samples/issues/237#issuecomment-105669801.

This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.