Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 13
Registered: ‎10-06-2013
My Device: q10

Cordova cli (Command-line Interface) 3.1.0



i have a problem with the run command, it don't take the defaut target.


exemple : 


1) cordova create hello com.example.hello

2) cd hello

3) cordova platform add blackberry10

4) cordova build.

5) platforms\blackberry10\cordova\target.bat add mydevice -t device --password 123456 --pin FFFF972E

6) cordova run 


after the six step i get an error no device connected or if i do :


7) cordova run --target mydevice


it works fine


it's not a big problem but if you read the documentation it should work diretly

BlackBerry Development Advisor
Posts: 203
Registered: ‎12-18-2012
My Device: Z10, Q10, Q5, Z30, Z3

Re: Cordova cli (Command-line Interface) 3.1.0



The community is working on a 3.2 release. I've logged an issue to address the docs.


I think you'll be happy to learn that step #5 will no longer be necessary. IP and PIN will automatically be detected and you will be prompted for your device pass.



Bryan Higgins
BlackBerry WebWorks
Posts: 13
Registered: ‎10-06-2013
My Device: q10

Re: Cordova cli (Command-line Interface) 3.1.0

Ok Thanks