Argument is not nullable while using pish.openListener
Hi ,
I am trying to register my device to blackberry server using: blackberry.push.openBISPushListener(ops, this.onData, this.onRegister, this.onSimChange); But i get the following error: Argument is not nullable My code is as follows: registerForNotifications : function() { try { var ops = { port : NotificationConstants.bbPort, appId : NotificationConstants.bbAppId, serverUrl : NotificationConstants.bbServerUrl, wakeUpPage : 'push.htm', maxQueueCap : NotificationConstants.bbMax }; console.log("BB PORT "+NotificationConstants.bbPort) blackberry.push.openBISPushListener(ops, this.onData, this.onRegister, this.onSimChange); } catch (err) { alert('openBisError ' + err); } Where am i going wrong? Thanks in advance. Annuk. |
All times are GMT -5. The time now is 04:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.