05-20-2013 06:37 AM
There are several different ways to do this, likely the easiest is to check window.webworks orwindow.blackberry as both should exist by default in a webworks application.
12-11-2013 08:37 AM
Is there any case in wich the windows.webworks would be 'undefined'? maybe a missing plugin?
I'm having that error in my app, I'm using WebWorks SDK 18.104.22.168 with Cordova 3.2 and the error shows in the Push Service plugin.