Page 1 of 1

com.evothings.ble issue

Posted: 19:01, 15 Oct 2014
by DawletMazen
Hi Everyone,

This is probably a very basic question so sorry for that :(
I am trying to build a native android BLE application and I have started by the evothings ble example, I created the DemoApp Cordova project then replaced the files inside the www folder with the ble example files from ble-scan and rebuilt the application. Everything went fine and I was able to install the application on my mobile (Galaxy S4) but I was missing the com.evothings.ble plugin so I tried the command 'cordova plugin add com.evothings.ble' from inside the project folder

But it gives an error:

Fetching plugin "com.evothings.ble" via plugin registry
Error: 404 Not Found: com.evothings.ble
at RegClient.<anonymous> (\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\npm-registry-client\lib\request.js:268:14)
at Request.self.callback (\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:148:22)
at Request.emit (events.js:98:17)
at Request.<anonymous> (\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:876:14)
at Request.emit (events.js:117:20)
at IncomingMessage.<anonymous> (\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:827:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)


Help is highly appreciated

Thanks

Re: com.evothings.ble issue

Posted: 16:53, 16 Oct 2014
by Fredrik
It seems our plugin has not yet been added to the main Cordova plugin registry. As a workaround, you can use this command:

Code: Select all

cordova plugin add https://github.com/evothings/cordova-ble

Re: com.evothings.ble issue

Posted: 19:30, 19 Oct 2014
by DawletMazen
Thanks, I will give it a try

Re: com.evothings.ble issue

Posted: 19:45, 28 Oct 2014
by micke
Did it work? If not you could try with .git at the end of the URL, like this:

Code: Select all

cordova plugin add https://github.com/evothings/cordova-ble.git