Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(wifi_scan): plugin added #205

Merged
merged 52 commits into from
Jan 15, 2022
Merged

feat(wifi_scan): plugin added #205

merged 52 commits into from
Jan 15, 2022

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:/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:/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:/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
2 participants