-
Notifications
You must be signed in to change notification settings - Fork 291
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
null is not an object evaluating Bluetooth.on #107
Comments
Same issue... |
I am having the same issue. It seems to me like the objects aren't getting imported correctly. |
Has this been solved? I'm having the same issue. |
I am also facing the same issue in iOS simulator. Anyone can please help here? |
I have been using this module for two of my projects for a long time, but in recent versions of react it presented several problems, mainly in iOS, I looked for other modules that work with esc pos and in my opinion this is the most complete and practical, because unfortunately the project was abandoned. So I thought it best to fix the module problems to continue using it, for those who have problems feel free to use: https://github.com/lucassouza16/react-native-bluetooth-serial.git To replace the original with the fork: iOS yarn remove react-native-bluetooth-serial && yarn add lucassouza16/react-native-bluetooth-serial#latest && cd ios && pod install && cd .. && yarn ios Android yarn remove react-native-bluetooth-serial && yarn add lucassouza16/react-native-bluetooth-serial#latest && cd android && ./gradlew clean && cd .. && yarn android |
@lucassouza16 you are the real hero. using ur repo now :) |
Thanks @lucassouza16 for the solution |
@lucassouza16 hi when i run this "yarn add lucassouza16/react-native-bluetooth-serial#latest" i don't what happen |
This error is still very vague, are you sure that only this is returned? |
Basically, I created a blank react-native project and installed the library and did the installation manually. when I import the library in App.js without using it the application throws an error.
null is not an object evaluating Bluetooth.on
The text was updated successfully, but these errors were encountered: