Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

WiFiManager.ScanResults now work. error

$
0
0

I have two projects. The code for both projects is the same and the permission settings in AndroidManifest.xml are the same.
But one project works well. However, one project works fine and the other project always returns an empty list.

var wifiManager = (WifiManager)Android.App.Application.Context.GetSystemService(Context.WifiService);
IList<ScanResult> list = wifiManager.ScanResults;

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>