com.evothings.ble issue

Ask, and ye shall receive.
DawletMazen
Posts: 5
Joined: 08:39, 26 Sep 2014

com.evothings.ble issue

Postby DawletMazen » 19:01, 15 Oct 2014

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

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

Re: com.evothings.ble issue

Postby Fredrik » 16:53, 16 Oct 2014

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

DawletMazen
Posts: 5
Joined: 08:39, 26 Sep 2014

Re: com.evothings.ble issue

Postby DawletMazen » 19:30, 19 Oct 2014

Thanks, I will give it a try

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: com.evothings.ble issue

Postby micke » 19:45, 28 Oct 2014

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


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 8 guests