11-29-2013 06:02 AM - edited 11-29-2013 08:08 AM
how to add community plugins like prevent sleep?
btw: i dont like the new way of adding the webworks plugins to the app... add it to the config.xml was WAY faster/easier than add it via command line one for one...
11-29-2013 09:27 AM - edited 11-29-2013 09:28 AM
nothing happening at this site...
- Go to https://blackberryid.blackberry.com/bbid/login/ and login using your BlackBerry ID credentials.
no prompts for password or click to get token.. will try when it's out of beta.
That isn't the correct URL to get a BlackBerry ID Token for siging. I'll have that fixed. The correct URL is: https://developer.blackberry.com/codesigning
11-29-2013 09:30 AM
I installed the BBWebWorks 2 SDK and i call the command from the start menu.
But i'l stuck at the project creation. Can you help me please on that one? Thx!
11-29-2013 09:46 AM
Thank you Mark.
i will have to setup a new machine for webworks 2.
My present webworks environment ("184.108.40.206")is not capable of running a simulator( 'REAL SLUG', 'takes forever' )
works great with ripple/Dos
Q:what happens in App World for example if a developer builds new Coidova releases of apps and abandons the previous SDK versions? is that a possible scenario? are existing customers pointed to the new cordova version?
11-29-2013 09:51 AM
As long as you sign the application with the same code signing key and/or BlackBerry ID Token from the same BlackBerry ID account as the original application and use the same package name as the original application, users will be able to upgrade.
If either of these change the user is still informed of the upgrade but application gets installed alongside the original, so they'll have 2 copies installed. This applies to any type of BlackBerry app, not just WebWorks.
11-29-2013 10:10 AM
jplust - those community extensions will need to be converted to plugins first, so you might want to hold off on upgrading if you need them in your project
We're planning a plugin management screen in the GUI for the Gold release to make the process easier.
11-29-2013 10:12 AM
yogi2wise - Thanks for the report. I'd like to get to the bottom of this.
When you launched the app, there should have been a console window opened as well. Are there any error messages?
If you know how to open your browser developer tools, there might be some clues there as well.
11-29-2013 05:21 PM
The Prevent Sleep plugin was ported a while ago since it's the most widely used Community plugin. You can get it here: https://github.com/blackberry/WebWorks-Community-A
Installation is with the "webworks plugin add <plugin location>" command, once you've got it downloaded locally. Apparently there's a way for us to register these plugins with cordova and then they install from anywhere. That's pretty cool, so I'm going to check it out and see if I can get our community contributed ones listed.
Any problems you have with the plugin you can post in an issue on the GitHub repository, or ask here in the forums.
11-30-2013 06:22 AM - edited 11-30-2013 06:36 AM
idea: it would be nice to "import" existing projects to the GUI
another thing: i cant "run" apps placed on another partition... the CLI looks for the ".cordova" folder at the same partition as the app (wrong)