Search found 7 matches
- 08:11, 20 Nov 2015
- Forum: Questions and answers
- Topic: Trouble getting BLE to work with Cordova app
- Replies: 10
- Views: 68303
Re: Trouble getting BLE to work with Cordova app
I tried just dragging my project into Workbench, and then viewing it in the viewer, and interestingly it doesn't load. The screen on my iPhone just goes white and I have to quit the viewer app. Nothing is displayed in the Worbench Tools log, I assume because the app fails before anything gets starte...
- 07:35, 20 Nov 2015
- Forum: Questions and answers
- Topic: Trouble getting BLE to work with Cordova app
- Replies: 10
- Views: 68303
Re: Trouble getting BLE to work with Cordova app
Hi Alex...well it works fine when I run it as an EvoThings example, within Workbench, but let me try hooking up this Cordova project.
Where do I punch in the URL to index.html? I am using the latest version of EvoThings Workbench and viewer
Where do I punch in the URL to index.html? I am using the latest version of EvoThings Workbench and viewer
- 14:16, 19 Nov 2015
- Forum: Questions and answers
- Topic: Trouble getting BLE to work with Cordova app
- Replies: 10
- Views: 68303
Re: Trouble getting BLE to work with Cordova app
I am running it in PhoneGap
- 14:11, 19 Nov 2015
- Forum: Questions and answers
- Topic: Uncaught TypeError: cannot call method 'stopScan' of 'undefined' source: file:///android_asset/www/app.js
- Replies: 5
- Views: 33818
Re: Uncaught TypeError: cannot call method 'stopScan' of 'undefined' source: file:///android_asset/www/app.js
I think I'm having exactly the same issue on iOS, covered in a new thread here, if anyone comes here (not solved yet): https://evothings.com/forum/viewtopic.php?f=8&t=1847 I'm pretty sure the plugin is installed correctly. If I ls plugins I have fetch.json, ios.json and cordova-plugin-ble, as we...
- 13:34, 19 Nov 2015
- Forum: Questions and answers
- Topic: Trouble getting BLE to work with Cordova app
- Replies: 10
- Views: 68303
Re: Trouble getting BLE to work with Cordova app
Have just tried this, and it's the same issue - it fails as soon as it tries to run evothings.ble.stopScan()
I dug a bit further, and whilst 'evothings' is a valid object, it seems the only property it has is 'os' - it does not have the property 'ble'
I dug a bit further, and whilst 'evothings' is a valid object, it seems the only property it has is 'os' - it does not have the property 'ble'
- 13:13, 19 Nov 2015
- Forum: Questions and answers
- Topic: Trouble getting BLE to work with Cordova app
- Replies: 10
- Views: 68303
Re: Trouble getting BLE to work with Cordova app
Thanks for the reply. I have installed the plugin, and I am developing for iOS, so those Android permissions should not be relevant. But yes, I had already installed that plugin before posting here the first time...
- 12:55, 19 Nov 2015
- Forum: Questions and answers
- Topic: Trouble getting BLE to work with Cordova app
- Replies: 10
- Views: 68303
Trouble getting BLE to work with Cordova app
I am trying to create Cordova app, using PhoneGap, and initially using one of the RedBearLabs examples from EvoThingsWorkbench. I have followed all the instructions as far as I can see, and tried multiple different ways, also with Cordova CLI. I have added the Evothings BLE Cordova plugin, but it do...