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 was using nordic DFU library which requires BleManger context to be passed to the library. With the non-swift version, In my AppDelegate.m, I was using
[RNNordicDfu setCentralManagerGetter:^() {
return [BleManager getCentralManager];
}];
// Reset manager delegate since the Nordic DFU lib "steals" control over it
[RNNordicDfu setOnDFUComplete:^() {
NSLog(@"onDFUComplete");
CBCentralManager * manager = [BleManager getCentralManager];
manager.delegate = [BleManager getInstance];
}];
With the latest version, my code is not compiling. Is there a way to access the BleManager instance now?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was using nordic DFU library which requires BleManger context to be passed to the library. With the non-swift version, In my AppDelegate.m, I was using
With the latest version, my code is not compiling. Is there a way to access the BleManager instance now?
Thanks in advance.
Deepak
Beta Was this translation helpful? Give feedback.
All reactions