You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was encountering the same issue, and after some investigation, I realized that the problem was related to missing location permissions. To resolve this, I used the permission_handler plugin to request the necessary permissions.
Here’s the code that worked for me:
Permission.locationWhenInUse.request().then((status) {
if (status.isGranted) {
WiFiForIoTPlugin.getSSID().then((value) => print(value));
} else {
print("Location permission not granted");
}
});
Can anyone help me how to properly setup the ios part. I have tried all things but its still giving me null value for ios.
The text was updated successfully, but these errors were encountered: