You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trouble making the scanning work on IOS, i can't get any event on the scanning callback. The same code on Android and Windows is working perfectly. I have added the permission in the info.plist.
Ok, i have tried an empty project and also the example app.
I have found out that on IOS if you don't set UniversalBle.onAvailabilityChange = (state) {}; the first commend startScan will not fire (the global queue will register it and will empty), the second time it will work.
If you have set onAvailabilityChange it will work fine.
I have trouble making the scanning work on IOS, i can't get any event on the scanning callback. The same code on Android and Windows is working perfectly. I have added the permission in the info.plist.
The code:
UniversalBle.onScanResult = (event) {
debugPrint("item found!");
};
await UniversalBle.startScan();
There is something that i am missing?
The text was updated successfully, but these errors were encountered: