Skip to content

Conversation

@jakecurreri
Copy link

@jakecurreri jakecurreri commented Dec 28, 2024

Fix for #22

This resolves the following error on RN 0.76+

 RNNordicDfu.startDFU(): Error while converting JavaScript argument 3 to Objective C type NSInteger. Objective C type NSInteger is unsupported.

The error occurs because the method signature has incorrect parameter types. For packetReceiptNotificationParameter, it's declared as NSInteger * (pointer) when it should be just NSInteger (primitive type). Similarly, alternativeAdvertisingNameEnabled should be BOOL instead of BOOL *.

@gmontemayor1987
Copy link

Can you guys merge this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants