02-06-2013 11:47 AM
I'm trying to get started with BB10 WebWorks. I downloaded Phonegap 2.3, set up the sample project, hosted it locally using MAMP, and opened it in Chrome with Ripple.
Ripple alerts "there was a problem loading webworks.js", and the chrome console shows that GET local:///chrome/webworks.js failed.
Other possibly-related things:
- Cordova logs "Unknown user agent?!?!? defaulting to java" to the console.
- "Viewport target-densitydpi is not supported." was logged to the console. I removed the target-densitydpi parameter from the viewport meta-tag and it stopped complaining.
I'm using Ripple v0.9.13 in Chrome 24.0.1312.57 on Mac OS X 10.8.2 (Mountain Lion).
Solved! Go to Solution.
02-06-2013 12:45 PM
Have you downloaded and installed the latest BlackBerry WebWorks SDK on to your computer?
02-06-2013 02:42 PM
I think it has something to do with the platform that you chose. I'm assuming that you chose the Phonegap option for the platform and because of that Ripple doesn't import the webworks library it needs. I think you are going to pick one or the other. Using phonegap and compiling with webworks will work -- u just need to take out the local:///webworks.js line and it should work. Not sure what the reprecussions are -- have never used Phonegap.
02-06-2013 02:52 PM