dotintent / react-native-ble-plx

React Native BLE library
Apache License 2.0
3.08k stars 515 forks source link

IOS Service UUID does not getting #1215

Closed MAYILERUMPERUMAL closed 4 months ago

MAYILERUMPERUMAL commented 5 months ago

Prerequisites

Question

in ios how to get Service UUID but android is working

intent-kacper-cyranowski commented 5 months ago

Hi @MAYILERUMPERUMAL I'm sorry but I don't really understand what is your question/issue, could you elaborate?

MaxToyberman commented 5 months ago

@intent-kacper-cyranowski I think he means that he startDeviceScan doesnt find any devices.

I experience the same issue after upgradie from 2.0.3 to 3.2.0

everything works as expected on android but not on iOS.

intent-kacper-cyranowski commented 5 months ago

Hi @MaxToyberman I'm sorry to hear that. Can I point you to our example app? We have there few tests (including device scanning) that works on both iOS and android, maybe you will find there something that will help you. In case on any problems feel free to open an issue with code sample, then I will be able to help you personally.

MaxToyberman commented 5 months ago

Hi, sure. Thanks @intent-kacper-cyranowski

MaxToyberman commented 5 months ago

@intent-kacper-cyranowski @MAYILERUMPERUMAL

it was my mistake, I was able to fix it by calling stopDeviceScan before starting another scan.

I had 2 processes running in parallel

intent-kacper-cyranowski commented 5 months ago

I'm glad that you managed to solve it 😄

intent-kacper-cyranowski commented 4 months ago

Closing as issue author seems inactive

gegana commented 1 month ago

@intent-kacper-cyranowski this seems to be a bug because the doc states that starting a scan stops an existing scan, yet we actually have to stop it manually.

https://dotintent.github.io/react-native-ble-plx/#blemanagerstartdevicescan