ionic-ble | Test Cordova BLE plugin with Ionic | Mobile Application library
kandi X-RAY | ionic-ble Summary
kandi X-RAY | ionic-ble Summary
Test Cordova BLE plugin with Ionic.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ionic-ble
ionic-ble Key Features
ionic-ble Examples and Code Snippets
Community Discussions
Trending Discussions on ionic-ble
QUESTION
i am developing an BLE App in Ionic 4 with Cordova. i was implementing the logic from this GitHub Repository: https://github.com/don/ionic-ble-examples/blob/master/scan/src/pages/home/home.ts
but i want to create an Bluetooth-Service and call the scan function in ngOnInit. i assign the array of found devices in the viewDidLoad-Method.
But i am not sure if this is a clean implementation of BLE. Especially i did not know when to call the different states (scan, assign found Devices to array).
When i run my app on an ios Device i find Bluetooth Devices and they are listet in the array.
My repository could be found here: https://github.com/goodcare/tobimat
thanks for your help!
...ANSWER
Answered 2018-Oct-17 at 18:34I'd suggest this:
Make a BluetoothService as in
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ionic-ble
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page