forked from Pilloxa/react-native-nordic-dfu
-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
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?
HDnoirod, waltershewmake and bjCorrosionInstruments
Metadata
Metadata
Assignees
Labels
No labels