diff --git a/packages/connectivity/connectivity_macos/README.md b/packages/connectivity/connectivity_macos/README.md new file mode 100644 index 000000000000..3357da6fd829 --- /dev/null +++ b/packages/connectivity/connectivity_macos/README.md @@ -0,0 +1,30 @@ +# shared_preferences_macos + +The macos implementation of [`connectivity`]. + +## Usage + +### Import the package + +To use this plugin in your Flutter Web app, simply add it as a dependency in +your `pubspec.yaml` alongside the base `connectivity` plugin. + +_(This is only temporary: in the future we hope to make this package an +"endorsed" implementation of `connectivity`, so that it is automatically +included in your Flutter macos app when you depend on `package:connectivity_macos`.)_ + +This is what the above means to your `pubspec.yaml`: + +```yaml +... +dependencies: + ... + connectivity: ^0.4.6 + connectivity_macos: ^0.0.1 + ... +``` + +### Use the plugin + +Once you have the `connectivity_macos` dependency in your pubspec, you should +be able to use `package:connectivity` as normal. diff --git a/packages/connectivity/connectivity_macos/pubspec.yaml b/packages/connectivity/connectivity_macos/pubspec.yaml index 677a19e4ec94..c06c0f7aa5e3 100644 --- a/packages/connectivity/connectivity_macos/pubspec.yaml +++ b/packages/connectivity/connectivity_macos/pubspec.yaml @@ -1,7 +1,6 @@ name: connectivity_macos description: macOS implementation of the connectivity plugin. -version: 0.0.1 -author: Flutter Team +version: 0.0.2 homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_macos flutter: @@ -12,7 +11,7 @@ flutter: environment: sdk: ">=2.1.0 <3.0.0" - flutter: ">=1.9.1+hotfix.6 <2.0.0" + flutter: ">=1.10.0 <2.0.0" dependencies: flutter: