You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DFU Bootloader version (please complete the following information):
SDK version: [don't know]
Bonding used: [yes]
Library version: [4.11.1]
Device information (please complete the following information):
Device: [e.g. iPhone 14 Pro Max]
OS: [iOS 16.0]
Your question
We are using the DFU in React Native project. There's this package use also mention in readme and I realize it's unofficial, there's already opened issue opened this with no answers, but maybe the question also belongs here, since it's about importing and using this library?
With the newest RN version, this line@import iOSDFULibrary; throws error
Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules
using those flags breaks other things, so that can't be used. Is there a way how to use #import syntax (which I assume needs to be used)?
I tried replacing it with #import <iOSDFULibrary/iOSDFULibrary-umbrella.h>, but then I see errors here
Cannot find protocol declaration for 'DFUProgressDelegate'
Cannot find protocol declaration for 'DFUServiceDelegate'
I am not sure if that's another error or it's connected. My C(anything) and Swift knowledge is basically zero, so maybe the fix is easy and some good soul can help?
The text was updated successfully, but these errors were encountered:
DFU Bootloader version (please complete the following information):
Device information (please complete the following information):
Your question
We are using the DFU in React Native project. There's this package use also mention in readme and I realize it's unofficial, there's already opened issue opened this with no answers, but maybe the question also belongs here, since it's about importing and using this library?
With the newest RN version, this line
@import iOSDFULibrary;
throws errorusing those flags breaks other things, so that can't be used. Is there a way how to use
#import
syntax (which I assume needs to be used)?I tried replacing it with
#import <iOSDFULibrary/iOSDFULibrary-umbrella.h>
, but then I see errors hereI am not sure if that's another error or it's connected. My C(anything) and Swift knowledge is basically zero, so maybe the fix is easy and some good soul can help?
The text was updated successfully, but these errors were encountered: