Open diogoviannaaraujo opened 7 years ago
I'm encountering the same issue.
You can try ‘react-native upgrade’.I use this command to solve the problem
I have been developing mostly for android for last couple of months, so iOS version might be buggy. Unfortunately I am pretty busy so PRs are welcomed 😉
@aduroidpc I used that command to solve the problem, however, the example posted here is still outdated, it does not work with latest version of react-native 0.51, we can build it, but we can't successful run it on devices.
@rusel1989 , there are couple of things you probably need to update for your example.
You need to change the route of your application in index.js
, you are importing App
from ./src/App.js
which should be BluetoothSerialExample
.
NativeModule cannot resolve BluetoothSerial
, I haven't figure out what the real cause is, so please look at it.
I would like to use bluetooth serial once its up-to-date again. I've used the phoneGap version before for Android, it works well. I would use this for ios as well.
My example does not run, after run-ios i get a crash: