commit | 19c8a236d847135100a7217053470e826e3becae | [log] [tgz] |
---|---|---|
author | Francisco Magdaleno <franciscojma86@gmail.com> | Wed Feb 19 10:26:42 2020 -0800 |
committer | GitHub <noreply@github.com> | Wed Feb 19 10:26:42 2020 -0800 |
tree | 1ef62d7e88ed8346daa6db614d6276f01f15b3d3 | |
parent | 24ab5292157bf913e6cb87fb8bd72ad1509223b2 [diff] |
[connectivity] Use platform_interface in core plugin (#2537) * Add files and name * Passed all methods * Works for Android * Small cleanup * Starting tests * [connectivity] Move as much logic as possible to the MethodChannel implementation. connectivity_platform_interface: * Bring ConnectivityResult and LocationAuthorizationStatus enums from core package. * Use the above Enums as return values for ConnectivityPlatformInterface methods. * Modify the MethodChannel implementation so it returns the right types. * Bring utility methods, asserts and other logic that is only needed on the MethodChannel implementation from the core package, so it's simpler. * Bring MethodChannel unit tests from core package. connectivity (core pkg): * Reexport ConnectivityResult and LocationAuthorizationStatus enums so plugin users can see them. * Remove MethodChannel unit tests (moved to platform_interface). * Format test * Move all files * Fix versions * Fix version * Fix path * Add test * Add test * Add Dart file to avoid warnings * Format * Address review Co-authored-by: David Iglesias <ditman@gmail.com>
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages
directory for all plugins.
Flutter plugins enable access to platform-specific APIs. For more information about plugins, and how to use them, see https://flutter.dev/platform-plugins/.
These plugins are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo.
If you wish to contribute a new plugin to the Flutter ecosystem, please see the documentation for developing packages and platform channels. You can store your plugin source code in any GitHub repository (the present repo is only intended for plugins developed by the core Flutter team). Once your plugin is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide, and send a pull request.
These are the available plugins in this repository.