Receiving this error on RN 0.76.3:
RNNordicDfu.startDFU(): Error while converting JavaScript argument 3 to Objective C type NSInteger. Objective C type NSInteger is unsupported.
Android DFU is working as expected. iOS continues to throw this error at the initiation of startDFU. No build issues. AppDelegate.mm written as prescribed by the docs.
Here is the only adjustment to my Podfile with USE_FRAMEWORKS=static pod install for installation:
target 'MyApp' do
config = use_native_modules!
pod "react-native-nordic-dfu", path: "../node_modules/react-native-nordic-dfu"
...
And my call to NordicDFU.startDFU:
return await NordicDFU.startDFU({
deviceAddress: deviceId,
deviceName: deviceName || undefined,
filePath: Platform.OS === 'ios' ? `file://${filePath}` : filePath,
retries: 4,
});
Possibly a library issue with the new architecture?
Receiving this error on RN 0.76.3:
Android DFU is working as expected. iOS continues to throw this error at the initiation of
startDFU. No build issues.AppDelegate.mmwritten as prescribed by the docs.Here is the only adjustment to my Podfile with
USE_FRAMEWORKS=static pod installfor installation:And my call to
NordicDFU.startDFU:Possibly a library issue with the new architecture?