List nearby wifi access points in a IOS app

I'm trying to develop a iOS mobile app with using flutter, which can scan nearby wifi access points and connect to a one of them. I ran the app on a physical device with a free apple developer account. When I scan for the wifi access points, it throws an error with saying wifi scan is not supported. I just used wifi_scan library in flutter.

  • Is it required to have a paid developer account to test this feature (wifi scanning and connection) ?
  • Does iOS natively give the access to apps to scan wifi?

Thanks