Skip to content

V1.3.5 broke BluetoothStateManager event listener #89

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

Open
nicolasmsg opened this issue May 26, 2023 · 1 comment
Open

V1.3.5 broke BluetoothStateManager event listener #89

nicolasmsg opened this issue May 26, 2023 · 1 comment

Comments

@nicolasmsg
Copy link

On version v1.3.5 neither BluetoothStateManager.onStateChange nor the BluetoothState declarative API is working anymore.

Error is : TypeError : Cannot read property 'apply' of undefined, js engine: hermes

I dont know the code base so I'm not sure whats the purpose of these commits : 34bf411 and bbdd9b0 but I guess they are the cause of the error since it works on previous versions and the other commit only changes a null value to true in requestToEnableListener

@alexrififi
Copy link

Those commits fixed the warning in the console.
Show your code

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

2 participants