Yep, useful docs for sure @Gualtier Malde – I came across those already. It seems the RN implementation is the challenge I was particularly looking to solve, and seeing how I can call those methods from React Native, or design the native code correctly and then expose those methods to my React Native via RCT_EXPORT_METHOD (I'm not familiar with native iOS programming, so while I understand the docs in principle, I'm quite confused as to how to go about implementing that, and what methods I need to create & call from my React Native code base).
Any guidance on the specific implementation would be helpful. I know I have to use CBCentralManagerDelegate, and specific methods like peripheral:didDiscoverServices:, but I frankly have little idea on how to use those in context, so I'm trying to figure that out.
Post
Replies
Boosts
Views
Activity
Did you manage to figure this out? I'm having a similar issue, where I can't rely on didDiscoverPeripheral to detect a device in background and trigger a callback that I have.