Skip to content

Crashing on simulator #13

@Emilios1995

Description

@Emilios1995

Hi @virl, I'm using the library through the react-native bindings.
It's working great, but the problem is that I can no longer use my app in the simulator because it crashes immediately because there is not a Bluetooth adapter on it.
the exception reads like this:

Attempt to invoke virtual method 'java.lang.String android.bluetooth.BluetoothAdapter.getName()' on a null object reference

It would be great if you could fix this.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions