xamarin / mac-samples

Sample programs showing how to use Xamarin.Mac on OSX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bssid = null since update to Catalina 10.15.4

HelgeKeck opened this issue · comments

The used code from the example:

HelloCoreWlanSample.cs

doesnt work anymore as expected. Dont know if it is a bug or a new restriction, but the system always returns NULL for the Bssid value.

This appears to be an Apple change: https://forums.developer.apple.com/thread/124189

I'm going to leave it open, as if there are ways to fix the sample I'm all ears.

You need to request for location access for it to work.

using CoreLocation;

        var manager = new CLLocationManager();
        manager.RequestAlwaysAuthorization();

👍

Created a PR:

#139