udark / underdark-android

Bluetooth peer-to-peer mesh networking for Android
http://underdark.io
Other
218 stars 56 forks source link

Crashing on simulator #13

Open Emilios1995 opened 7 years ago

Emilios1995 commented 7 years ago

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.

virl commented 7 years ago

@Emilios1995 Thanks for the bugreport. It will be fixed in next major release version.