Open theorime opened 3 years ago
I got the same issue. still looking for a solution :(
ps: I just saw your fix in your fork. Is that working well? I will try to use it. Thanks
I'd got same issue ... After a lot of tries (note I'm VERY bad in java,maven and so on, I hate Java, that's the main reason I chose react to code ;-)), It works You can find my realease here : http://vmaury.o2switch.net/tmp/react-native-usbserial.zip, feel free to modify it, and commit it somewhere
Note that during this tries, I linked NOT with com.hoho.android:usb-serial-for-android:0.2.0-SNAPSHOT but with more recent com.github.mik3y:usb-serial-for-android:3.4.0 (I thought that was the bug source, no, but I think it's always better if It's linked with a more recent version). In my buid.gradle, I also add
dependencies {
implementation 'com.github.mik3y:usb-serial-for-android:3.4.0'
...
}
and
repositories {
maven { url 'https://jitpack.io' }
}
I just tried it and it's working ! Thank you so much
@vmaury or someone else, can you share a working solution, since link you posted doesn't work anymore?
Hello ! Thank you for your work, it's really amazing for what I'm doing ! But there's a problem since React Native 0.6 that cause this error on the call of getDeviceListAsync :
This is caused by the fact that in RN > 0.6, the method
WritableArray.pushMap()
does not acceptWritableMap
as argument anymore. It accepts onlyReadableMap
. I tried to modify the code in order transform it, but my knowledge in RN is too limited to do so...How can we get through this problem ?
Thank you !