Pilloxa / react-native-nordic-dfu

Nordic Device Firmware Update for React Native
MIT License
138 stars 119 forks source link

DFU fails with "Verification Failed" error #139

Open Najmeh-Myant opened 3 years ago

Najmeh-Myant commented 3 years ago

Platform: Android 11 Phone: Google Pixel XL 3 react-native-nordic-dfu Library version used : 3.2.0

Steps to reproduce:

Current Behaviour: The FW upload goes up to 100% successfully. But then the startDFU catch runs with the error "Verification Failed"

The error I receive is this: {"framesToPop":1,"nativeStackAndroid":[],"userInfo":null,"message":"Verification failed","code":"1036","line":31,"column":687,"sourceURL":"index.android.bundle"}

Suggested Solution: Add a delay between uploading the firmware to the device and flashing the image to the device. https://github.com/NordicSemiconductor/Android-DFU-Library/issues/111