-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package build error when running react-native #3
Comments
It seems a problem related with a dependency that @cdesch could your share your OS specs? |
@mapaiva Here are my specs MacOS 10.12.3 |
I encountered this error and was able to solve it by duplicating the maven config from react-native-usbserial in my project's own configuration. Specifically, I added these lines to my
|
Great @mhiley!!! If you could create a PR with the solution it would be very appreciated 🎉 |
The change was in my project that uses your library as a dependency, not in your library itself, so I don't believe there is anything to pull request. On a side note, is it possible to read from a serial device with this library yet? I see that readAsync is unimplemented: I'm interested in possibly taking a stab at implementing this, so am curious if you just haven't gotten to it yet, or was there some technical roadblock to implementing it? Any progress I make will be contributed back to your project of course 😃 |
Hmm got it :).
Nope, no tech issue just a big lack of time for improving it 😄. Any contribution will be very welcome @mhiley! It'd be awesome. In fact, I'll try to fix some minors of this project this weekend as well :D . |
@mhiley |
@HelgiHe I did get a basic read implementation working, but I've still got some work to do to generalize things enough to submit it back as a pull request (specifically, "FTDI" is hard-coded as the driver) and haven't been able to find the time. Also I'm not sure I have the right hardware to properly test a generalized implementation. Feel free to check out this branch and use it as a starting point for implementing read: https://github.com/EarthlingInteractive/react-native-usbserial/commits/read-implementation |
@mhiley Great thanks for sharing. I'm actually trying to use FTDI RFID reader but we got some different hardware coming in the next few months. |
Error after linking then running
react-native run-android
The text was updated successfully, but these errors were encountered: