Skip to content

Conversation

daadu
Copy link
Member

@daadu daadu commented Dec 4, 2021

Related to #188

Options for testing/playing around

  • Run example app
  • Integrate with your project with following:
    wifi_scan:
        git:
            url: https://github.com/flutternetwork/WiFiFlutter
            ref: wifi_scan
            path: packages/wifi_scan

daadu and others added 30 commits December 5, 2021 02:14
…; `WiFiNetwork` class added; `requestScan`, `canGetScannedNetworks`, `scannedNetworks` and `scannedNetworksStream` methods and getters added; `ToEnumExtension` added

- [wifi_scan,test] basic test added
- [wifi_scan,example] cleaned/blanked
- [example] added basic doc string
- [wifi_scan] moved all non-wifi_scan classes/enum/fun to src
- [wifi_scan] `WiFiNetwork`: added attributes and constructor
- [wifi_scan,test] proper map values for mocked `scannedNetworks` handler

Coded in flight AI-607
- [example,android] various version derived from flutter tool
… `noLocationPermissionUpgradeAccuracy`; adjusted deserializers and tests for it

- [android,manifest] added required permissions
- [android] `WifiScanPlugin`: completed all implementation
- `WiFiNetwork` -> `WiFiAccessPoint`
- `scannedNetworks` -> `getScannedResults`
- `scannedNetworksStream` -> `onScannedResultsAvailable`
- `CanGetScannedNetworks` -> `CanGetScannedResults`
- [ios] added `wifi_scan/onScannedResultsAvailable` eventChannel with `DummyStreamHandler`
- [android] added `wifi_scan/onScannedResultsAvailable` eventChannel; `canGetScannedResults` - always checking loc-perm and loc-enabled
- [example,ios] project file updated after build
- [example] integrated `WiFiScan.onScannedResultsAvailable` stream
@david-kooi
Copy link

Trying to integrate and get this error:

Git error. Command: `git clone --mirror https://github.com/florian-guillemard/WiFiFlutter/pull/205 C:\Users\david.kooi\Workspace\api\flutter\.pub-cache\git\cache\205-275a3af69e7fda68b0b6f830d4b0d766e8ea09bd`
stdout: 
stderr: Cloning into bare repository 'C:\Users\david.kooi\Workspace\api\flutter\.pub-cache\git\cache\205-275a3af69e7fda68b0b6f830d4b0d766e8ea09bd'...
remote: Not Found
fatal: repository 'https://github.com/florian-guillemard/WiFiFlutter/pull/205/' not found
exit code: 128
pub get failed (server unavailable) -- attempting retry 1 in 1 second...

Any ideas how to resolve?

@daadu
Copy link
Member Author

daadu commented Jan 15, 2022

@david-kooi Oops, the url was incorrect, corrected in description. Try it.

@daadu daadu merged commit c61b843 into master Jan 15, 2022
@daadu daadu deleted the wifi_scan branch January 15, 2022 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WifiForIotPlugin.loadWifiList() always returns empty list. in Android 10 LoadWifiList only returns list from previous system wifi scan list
2 participants