Pilloxa / react-native-nordic-dfu

Nordic Device Firmware Update for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ios15 does not execute related startDFU?

QMY-ZQ opened this issue · comments

react-native v0.55.4;
"react-native-nordic-dfu v2.0.1;
ios15.2

It can be used normally on the android platform, and there are related progress,But on the Apple phone, there is no response to executing startDfu(),I checked the moudules file RNNordicDfu.m file,retrievePeripheralsWithIdentifiers returns 0 so the DFU process quits with error "Could not find device with deviceAddress"

NSArray<CBPeripheral *> * peripherals = [centralManager retrievePeripheralsWithIdentifiers:@[uuid]];

image
Then what do I do next?