Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

Ionic wrapper for cordova ble plugin not designed correctly

$
0
0

@BrentAshWilliams wrote:

I have been using the BLE Cordova plugin for many years. I have noticed that occasionally more so on iOS than Android that once I start notifications and send a message down, I never get the notification back. I added an issue in the repository:

https://github.com/don/cordova-plugin-ble-central/issues/751

Don mentioned the following in regard to the ionic wrappers:

The Ionic wrappers automatically calling stopNotification can cause problems. This plugin was designed with callback, many of which can call success and error multiple times. This doesn't work well with Observables since the first error destroys the subscription.

Due to this I would like to use just the BLE Cordova plugin without the ionic wrapper.

Can someone explain to me how to use a Cordova plugin without the ionic wrapper?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>