10-11-2012 07:46 PM
Just went live today; feel free to PM me or start up a new thread (and ping me) if you have any questions about the samples (trying to minimize the number of topics in this thread.
11-04-2012 05:15 AM
I downloaded this source from GitHub at the address you gave,
the only thing I change is replacing the file webworks-18.104.22.168.js with the one webworks-22.214.171.124.js,
And I run this sample on my Dev Alpha A, I get error TypeError: 'undefined' is not an object (evaluating 'blackberry.bbm.platform') in Web Inspector
Please see this image for details
11-04-2012 07:32 AM
the Blackberry object is defined in webworks-126.96.36.199.js, and of course this file loads successfully.
I wonder why it not work, is there any thing I miss?
11-05-2012 10:50 AM
I just wanted to confirm a few things. First, from the following URL:
Just as a quick check, are you leveraging the incomplete or complete version of the source code?
If you are replacing the js file, is there any particular reason?
I don't believe the BBM APIs existed before the 188.8.131.52 release, so seeing blackberry.bbm.platform is undefined would be expected.
Please let me know if I've misunderstood.
11-05-2012 11:10 AM
I think you're right, you got my problem,
I will tell more details about my case
I use the Dev Alpha A device with has OS Version 10.0.9.388, Build ID 320287 and Browser Version 10.0.0.44, I think it is not the latest version of BB10 OS, what is your device version?
So, when I try the complete version of the source code, it not work with js webworks-184.108.40.206.js, then I have to replace to webworks-220.127.116.11.js.
I think all I have to do now is upgrade the OS of this device to the newest version. Is that right?
11-05-2012 11:23 AM
10.0.9.388 is the newest publicly available release of the OS and that where I tested / confirmed that the complete sample should be working.
When you try with 18.104.22.168, you note that the complete version does not work, can you elaborate a little as to what isn't working? Does the application not start, any Web Inspector errors, etc. Also, are you running through the browser or a compiled WebWorks application?
11-05-2012 11:28 AM
another reason I found is BlackBerry update the new version of SDK to 1.0.2 but I still use the old one 1.0.1
Now I have to download a new one and build the app again with the new SDK,
Think that other members will get the same problem at me
11-05-2012 12:48 PM
Ah yes, sorry I should have caught that if you were using 22.214.171.124. You will need to build with the latest SDK. If you still see issues after doing that, please let me know.