Skip to content
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

TypeError: Null is not an object #21

Open
Chiinyee opened this issue Jun 15, 2020 · 0 comments
Open

TypeError: Null is not an object #21

Chiinyee opened this issue Jun 15, 2020 · 0 comments

Comments

@Chiinyee
Copy link

Hi, I read that this library supports iOS. I am trying this on iOS simulator but when I call this method:
BLEPeripheral.addCharacteristicToService('XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', 16 | 1, 8)

it returns TypeError: Null is not an object. So i console.log(BLEPeripheral), it prints out null as well. I have followed the instructions and link the library through react-native link but still have the problem. I am running on rn 0.6 and ios13. Below is a screenshot of the error:

Screenshot 2020-06-15 at 12 45 24 PM
May I know if I am doing anything wrong or will there be a fix soon for this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant