Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

V1.3.5 broke BluetoothStateManager event listener #89

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants