12-18-2012 07:24 PM
I'm trying to set up BBM with my webworks applications. I just want to get to the point where I can successfully run the register function.
These are the steps I've completed...
1. Added the following to my config.xml file...
2. Added the bbm.js file to the html file.
3. Added an onclick event to trigger the following to trigger the event.
<a href="#" onclick="_bbm.register();">BBM</a>
What am I missing here?
Solved! Go to Solution.
01-03-2013 10:42 AM
Are you also handling the callback from the registration? You can see a sample application here:
01-07-2013 11:56 AM
What problem are you having?
01-08-2013 12:41 PM
01-08-2013 12:47 PM
If you are using bbm.js as is the variable is bbm, not _bbm.
01-08-2013 12:59 PM
01-10-2013 11:50 AM
Can you make sure you're using the latest version for the BlackBerry WebWorks SDK and are using the most up to date webworks.js file? Older versions won't have the updated BBM registration code.
In WebWorks SDK v184.108.40.206, the way you reference the webworks.js file changed to this:
01-10-2013 01:18 PM
01-10-2013 04:44 PM - edited 01-10-2013 04:54 PM
This is now fixed.
Problem was even though I asked for permission to use BBM I didn't add the feature tag in the config file.
<feature id="blackberry.bbm.platform" />