{"id":14968244,"url":"https://github.com/exendahal/maui_wifi_manager","last_synced_at":"2026-01-03T17:14:20.031Z","repository":{"id":220909393,"uuid":"752535652","full_name":"exendahal/maui_wifi_manager","owner":"exendahal","description":".NET MAUI Wi-Fi Manager simplifies Wi-Fi management in cross-platform apps. With its APIs, you can easily connect to, manage, and retrieve Wi-Fi network information.","archived":false,"fork":false,"pushed_at":"2025-12-05T04:40:45.000Z","size":599,"stargazers_count":37,"open_issues_count":2,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-08T12:53:54.235Z","etag":null,"topics":["android","csharp","dotnet-core","dotnetmaui","ios","wifi","windows","winui3","xamarin","xamarin-forms"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exendahal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-04T05:54:17.000Z","updated_at":"2025-12-05T04:39:12.000Z","dependencies_parsed_at":"2024-02-05T05:31:12.527Z","dependency_job_id":"2c7d872c-6668-4eac-8c06-c174314514aa","html_url":"https://github.com/exendahal/maui_wifi_manager","commit_stats":null,"previous_names":["exendahal/wifimanagermaui","exendahal/maui_wifi_manager"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/exendahal/maui_wifi_manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exendahal%2Fmaui_wifi_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exendahal%2Fmaui_wifi_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exendahal%2Fmaui_wifi_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exendahal%2Fmaui_wifi_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exendahal","download_url":"https://codeload.github.com/exendahal/maui_wifi_manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exendahal%2Fmaui_wifi_manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27677129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","csharp","dotnet-core","dotnetmaui","ios","wifi","windows","winui3","xamarin","xamarin-forms"],"created_at":"2024-09-24T13:39:35.100Z","updated_at":"2026-01-03T17:14:20.014Z","avatar_url":"https://github.com/exendahal.png","language":"C#","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# Wi-Fi Manager for .NET MAUI\n\nThe Wi-Fi Manager for .NET MAUI is a simple and powerful library that helps you manage Wi-Fi networks in your cross-platform apps. With this library, you can easily connect to Wi-Fi networks, retrieve network information, and provide quick access to Wi-Fi and wireless settings.\n\n[![WifiManager.Maui](https://img.shields.io/nuget/v/WifiManager.Maui)](https://www.nuget.org/packages/WifiManager.Maui/)\n\n---\n\n## Supported Platforms\n\n| Platform  | Supported | Notes                            |\n|-----------|-----------|----------------------------------|\n| Android   | ✅        |                                  |\n| iOS       | ✅        |                                  |\n| Windows   | ✅        |                                  |\n| Mac       | ⚠️        | Testing required via Mac Catalyst|\n| Tizen     | ❌        |                                  |\n\n---\n\n## Key Features\n\n- **Connect to Wi-Fi**: Connect to Wi-Fi networks using SSID and password.\n- **Get Network Info**: View details about the currently connected network.\n- **Disconnect Wi-Fi**: Disconnect from a specific Wi-Fi network.\n- **Open Wi-Fi Settings**: Provide quick access to device Wi-Fi settings.\n- **Open Wireless Settings**: Provide quick access to device wireless settings.\n\n---\n\n## How to Get Started\n\n### Initialization\n\nBefore using the library, make sure to initialize it properly:\n\nIn your MauiProgram.cs, add the UseMauiWifiManager() extension method:\n\n```csharp\npublic static class MauiProgram\n{\n    public static MauiApp CreateMauiApp()\n    {\n        var builder = MauiApp.CreateBuilder();\n\n        builder\n            .UseMauiApp\u003cApp\u003e()\n            .UseMauiWifiManager();\n\n        return builder.Build();\n    }\n}\n```\n\nAlso, include these permissions in your `AndroidManifest.xml` file:\n\n```xml\n\u003cuses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" /\u003e\n\u003cuses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" /\u003e\n```\n\nMake sure to request location permissions before scanning for Wi-Fi.\n\n#### For iOS\n\nAdd the following to your `Entitlements.plist`:\n\n```xml\n\u003ckey\u003ecom.apple.developer.networking.wifi-info\u003c/key\u003e\n\u003ctrue/\u003e\n\u003ckey\u003ecom.apple.developer.networking.HotspotConfiguration\u003c/key\u003e\n\u003ctrue/\u003e\n```\n\nIn `Info.plist`, request location permissions:\n\n```xml\n\u003ckey\u003eNSLocationWhenInUseUsageDescription\u003c/key\u003e\n\u003cstring\u003eThe app needs location access to detect Wi-Fi networks.\u003c/string\u003e\n```\n\n---\n\n## Examples\n\n### Connect to Wi-Fi\n\nTo connect to a Wi-Fi network:\n\n```csharp\nvar response = await CrossWifiManager.Current.ConnectWifi(\"your-SSID\", \"your-password\");\n```\n\n---\n\n### Scan for Available Networks\n\nTo get a list of available Wi-Fi networks (Android \u0026 Windows only):\n\n```csharp\nvar response = await CrossWifiManager.Current.ScanWifiNetworks();\n```\n\n---\n\n### Get Current Network Info\n\nTo retrieve details of the currently connected Wi-Fi network:\n\n```csharp\nvar response = await CrossWifiManager.Current.GetNetworkInfo();\n```\n\n---\n\n### Disconnect Wi-Fi\n\nTo disconnect from a Wi-Fi network:\n\n```csharp\nawait CrossWifiManager.Current.DisconnectWifi(\"your-SSID\");\n```\n\n---\n\n### Open Wireless Settings\n\nTo open the device's wireless settings:\n\n```csharp\nawait CrossWifiManager.Current.OpenWirelessSetting();\n```\n\n**Note**: On iOS, this opens the app's settings instead of wireless settings.\n\n---\n\n### Open Wi-Fi Settings\n\nTo provide quick access to Wi-Fi settings:\n\n```csharp\nawait CrossWifiManager.Current.OpenWifiSetting();\n```\n\n**Note**: On iOS, this opens the app's settings instead of Wi-Fi settings.\n\n---\n\n## Changes in Version 3.0.0\n\n- The namespace `Plugin.MauiWifiManager` has been updated to `MauiWifiManager`.\n- `NetworkData` is now part of `WifiManagerResponse`.\n- Addition to `WifiManagerResponse`:\n\n```csharp\npublic class WifiManagerResponse\u003cT\u003e\n{\n    public T? Data { get; set; }\n    public WifiErrorCodes? ErrorCode { get; set; }\n    public string? ErrorMessage { get; set; }\n}\n```\n\n## Feature Support by Platform\n\n| Feature                          | Android | iOS       | Windows | Notes                                   |\n|----------------------------------|---------|-----------|---------|-----------------------------------------|\n| Connect to Wi-Fi                 | ✅      | ✅        | ✅      | Supported on all platforms.            |\n| Get Current Network Info         | ✅      | ✅        | ✅      | Supported on all platforms.            |\n| Disconnect Wi-Fi                 | ✅      | ✅        | ✅      | Supported on all platforms.            |\n| Scan for Available Wi-Fi Networks| ✅      | ❌        | ✅      | Not supported on iOS.                  |\n| Open Wireless Settings           | ✅      | ✅*       | ✅      | *Opens app settings on iOS.            |\n| Open Wi-Fi Settings              | ✅      | ✅*       | ✅      | *Opens app settings on iOS.            |\n\n---\n\n## Feedback \u0026 Issues\n\nIf you encounter any issues or have suggestions, please open an issue on the project's GitHub repository.\n\n---\n\n## Contributing Guidelines\n\n contributions to this project are always welcomed. To ensure a smooth collaboration, please follow these guidelines:\n\n### **Branching Strategy**\n\n- **`develop`**: This is the **development branch** where all new features and bug fixes should be merged. Always branch out from `develop` for your work.\n- **`main`**: This is the **release branch** containing production-ready code. Only merge into `main` after thorough testing and reviews.\n\n### **Using Issue Templates**\n\nCreate a new issue using one of the provided **issue templates**. These templates ensure we have all the necessary information to understand and address the issue effectively.\n\n---\n\n## Support \u0026 Motivation\n\nMaintaining and improving this library takes time and effort.  \nIf you find it useful and would like to support future enhancements or ongoing maintenance, you can do so [here](https://buymemomo.com/exendahal).\n\nThank you for using and supporting the project.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexendahal%2Fmaui_wifi_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexendahal%2Fmaui_wifi_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexendahal%2Fmaui_wifi_manager/lists"}