fengqiangboy / flutter-nordic-dfu

Flutter Nordic dfu
MIT License
109 stars 76 forks source link

DFU not working on iOS #33

Open IanWazowski opened 3 years ago

IanWazowski commented 3 years ago

I wonder can this issue ("https://github.com/fengqiangboy/flutter-nordic-dfu/issues/3" ) slove in Xcode, not in Flutter. hope to repair ios.

dagyu commented 3 years ago

Hi! I'm not the maintainer but I experienced this problem too. The problem is well described here https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/issues/368#issuecomment-619066196 and the solution here https://github.com/NordicSemiconductor/Android-DFU-Library/issues/262#issuecomment-665493850.

Briefly you have to change your bootloader as explained on the link above and the set the parameter forceScanningForNewAddressInLegacyDfu to true. This parameter wasn't mapped on this plugin so I did this PR https://github.com/fengqiangboy/flutter-nordic-dfu/pull/34 hoping that the maintainer @fengqiangboy will accept it because it seems that this repo is no more maintained.