Comments (4)
@sergiocarral1 I am facing the exact issue. Did you get it resolved? Please help me. If you have used another library, please suggest.
Thanks in advance.
from ionic-ble-examples.
I'm having the same problem, has anyone solved?
from ionic-ble-examples.
Hi All. I was looking at the very same issue. I found that by rebiulding my project and specifiying cordova in the ionic start command:
$ ionic start myApp blank --cordova
the error went away. I'm working in Ionic 4, so some other elements of this utorial will not be the same though. For instance, you'll need to change the imports to :
import { BLE } from '@ionic-native/ble/ngx';
hope this helps you.
from ionic-ble-examples.
i'm having the same issue, i tried the @monkeytronics solution but didn't work, also i'm using ionic 5,
here the error:
ERROR TypeError: Object(...) is not a function
at BLE.scan (vendor.js:81074)
at HomePage.webpackJsonp.248.HomePage.scan (main.js:74)
at Object.eval [as handleEvent] (HomePage.html:7)
at handleEvent (vendor.js:14225)
at callWithDebugContext (vendor.js:15734)
at Object.debugHandleEvent [as handleEvent] (vendor.js:15321)
at dispatchEvent (vendor.js:10640)
at vendor.js:11265
at HTMLButtonElement.<anonymous> (vendor.js:40170)
at t.invokeTask (polyfills.js:3)
also i have created a repo with the source, so you can check if there is something wrong
https://github.com/Darkmagister/testble/
from ionic-ble-examples.
Related Issues (19)
- it's not working with ionic viewer application HOT 1
- Can't connect to my RPI HOT 1
- Can't read / write anything :
- scan filtered by services seems not to work? HOT 1
- After conect the mi band 2 and go to details page the connection is lost
- Can't write / read with ios
- How to display Subscribe data in HTML which is continuous change every second in Angular 4 HOT 1
- Not triggering subscribe in scan function
- scan example won't run on Ionic 5
- So many errors in Ionic 5 HOT 1
- how to implement -Bluetooth low energy Encryption HOT 1
- couldn't write data after start notification HOT 2
- how to read multiple times HOT 1
- Accidentally created issue delete me
- Ionic 3 Native BLE doesn't return anything HOT 2
- Event for when a device stops being connected or advertising HOT 1
- Print Barcode/QRCode HOT 1
- how to read data from ble peripheral HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ionic-ble-examples.