06-15-2013 09:26 AM - edited 06-15-2013 09:27 AM
I'm trying to share content via BBM through my app but when i use the blackberry.bbm.platform.users.shareContent function, I get the following error that it's undefined:
TypeError: 'undefined' is not a function (evaluating 'blackberry.bbm.platform.users.shareContent()')
I checked the blackberry.bbm.platform.users object and it only has the inviteToDownload function. (check attached screenshot)
How is this possible? am I missing something required?
My config.xml contains:
<feature id="blackberry.bbm.platform" />
Also, inviteToDownload works fine and I'm using the latest SDK: BlackBerry 10 WebWorks SDK 22.214.171.124.
Solved! Go to Solution.
06-17-2013 10:11 AM
shareContent is not supported on BlackBerry 10. The BBM SP session and channels that allow for device to device communication are not supported in BlackBerry 10. These are supported in BlackBerry OS 5 to 7.
06-17-2013 11:10 AM
You can use the invocation framework to share a file over BBM. This does require the recipient save the file on their BlackBerry.
We are working on re-designing the peer to peer connections for BlackBerry 10.