Search packages, repositories and app categories

GitHub repositorywonjerry/flutter_wifi_connector

flutter_wifi_connector

Flutter plugin for connecting to wifi

flutter_wifi_connector project cover
Stars
8
Forks
18
Last push (UTC)
Mar 20, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

wifi_connector

Prerequisite

  • iOS

    • Change development target to 11.0

    • Add hot spot configuration capability to Runner.entitlements

          <key>com.apple.developer.networking.wifi-info</key>
          <true/>
      
    • Add hot spot configuration capability to Runner.entitlements

          <key>com.apple.developer.networking.HotspotConfiguration</key>
          <true/>
      
  • Android

    • Add wifi permissions to AndroidManifest.xml

          <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
          <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
      

Usage

  • Connect to public wifi

    
    await WifiConnector.connectToWifi(ssid: ssid);
    
    
  • Connect to private wifi

    
    await WifiConnector.connectToWifi(ssid: ssid, password: password);
    
    
Wonjae Lee GitHub avatar
GitHub author

Wonjae Lee ↗

NaverSeoul KoreaOfficial website ↗
LanguagesKotlinDartSwiftRubyObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗