macOS Mojave and System.NullReferenceException using Visual Studio 2019
See original GitHub issueHello, have now tried multiple different BLE libraries and in all have issues at beginning before get any further. With your library happens following
Steps to reproduce
MvvmCross:
var ble = Mvx.Resolve<IBluetoothLE>();
Vanilla:
var ble = CrossBluetoothLE.Current;
Expected behavior
register IBluetoothLE
Actual behavior
MvvmCross: System.NullReferenceException has been thrown Object reference not set to an instance of an object Vanilla: System.ArgumentNullException has been thrown Value cannot be null. Parameter name: obj
Configuration
Plugin: Version 2.1.1 from nuget.org macOS Mojave with latest updates (10.14.6) Device MacBook Pro 2018 Building with Visual Studio Community 2019 Target framework Xamarin Mac Modern (Have also tried Full version but same behaviour) And trying to develop application for macOS and no more code to show as stuck at beginning… any help would be appreciated 😃
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top GitHub Comments
And distance seems to be just mathematics 10 ^ ((Measured Power – RSSI)/(10 * N)) where N is Environmental factor in range 2-4. Little googling helps… So you library is all I need in my project. Thank you 😃
Seems the problem is with system connected devices that library can’t scan those on macOS Mojave. But it is not issue in my project so i can continue with it. One neat feature would be that it could also get what is the distance for the device. then it would be perfect, well at least for my project 😃