GithubHelp home page GithubHelp logo

beroman / plugin_wifi_connect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cadisraziel/plugin_wifi_connect

0.0 0.0 0.0 160 KB

License: BSD 3-Clause "New" or "Revised" License

Ruby 4.04% Objective-C 2.83% Kotlin 49.00% Dart 25.04% Swift 19.09%

plugin_wifi_connect's Introduction

plugin_wifi_connect

This package is a continuation of the package below:

https://pub.dev/packages/flutter_wifi_connect

We will take care, so that the necessary maintenance can always occur, as well as new features,

we thank weplenish for allowing us to continue the project, which we need to use, due to our work.

summary:

A low dependency flutter plugin to allow simple connection to wifi devices with the provided ssid or ssid prefix. Built for Android 10+ (API 29) and iOS 11+.

This plugin is made with the latest / greatest direct connect to wifi options. It's intent is to make it easy to programmatically connect to devices that broadcast unique SSIDs. Items like IOT devices.

This should connect to an explicit SSID on iOS 11+ and Android 1+. To connect to an SSID matching a prefix it should work on iOS 13+ and Android 1+. On Android 1-29 it will scan nearby wifi networks and attempt to connect to the one matching the prefix (requiring ACCESS_FINE_LOCATIONS).

Getting Started

Ensure you have the permissions set up and request them appropriately for each platform. This plugin's goal isn't to force permissions. This means if you have a different target, you don't need more permissions than you would otherwise be forced to require.

Permissions

iOS

These must be added in xcode

  • Access WiFi Information Entitlement (to request ssid and ensure connection to the correct network)
  • Hotspot Configuration Entitlement (to connect to a network)

Android

Make sure you verify permissions during runtime (using a permission plugin). In Android it looks like this

29+ (Android Q+)

  • ACCESS_FINE_LOCATION (only if using get ssid)

Older than 29 (P and older)

  • ACCESS_WIFI_STATE
  • CHANGE_WIFI_STATE
  • CHANGE_NETWORK_STATE
  • ACCESS_FINE_LOCATION (only if using prefix Connect)

plugin_wifi_connect's People

Contributors

dependabot[bot] avatar chenrilima avatar h1376h avatar beroman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.