Open danibachar opened 4 years ago
has this been addressed? my app will NEVER be on the UI thread when calling the sdk. This is Ionic Vue based.
I see this in the device log
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
It seems that the SDK forces the
EPXProximityZone
callback i.e@property(nonatomic, copy, readwrite, nullable) void (^onEnter)(EPXProximityZoneContext *zoneContext);
and the others to be called back on the main thread. In cases where there are a lot of beacons near by this causes heavy usage on the app and in some cases, it's getting totally stuck ... From stack tracing it seems like Estimote SDK does most of the work on it's own threadcom.estimote.EBSUniversalScanner.defaultQueue
but then dispatch it back on to the main thread... I wish one of the two will happen: 1) The callback would come back on the thread it was registered to 2) I could inject/supply a queue which I'd like myEPXProximityZone
s to be observed onMaybe there is such a case and I'm missing something? And also why is
EPXProximityZone
introduce the usage of UIKit is there a reason?