Hi Team,
I want to retrieve the list of nearby Wi-Fi networks (SSIDs) directly inside the app.
Currently, I can see the available Wi-Fi networks by going to Settings → Wi-Fi on the device, but I would like to access that scan list programmatically within my application.
I am developing the app using the Angular Ionic platform. On Android, I am able to get the nearby Wi-Fi scan list using the npm package @capgo/capacitor-wifi (v8.1.8). However, on iOS, the scan results are not being returned.
If anyone has experience with this or knows how to achieve Wi-Fi scanning on iOS in Ionic/Capacitor, please let me know.
Thanks.
There’s no general-purpose way to get Wi-Fi scan results on iOS. Depending on your specific scenario, there may be special-purpose ways to achieve your goals. TN3111 iOS Wi-Fi API overview has more about that. Please read that and then reply back here if you have follow-up questions.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"