Skip to content

Commit 71cb85d

Browse files
franciscojma86sanekyy
authored andcommitted
Update endorsed macos plugins readme and update others (flutter#2407)
1 parent afe8b0e commit 71cb85d

12 files changed

Lines changed: 61 additions & 33 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## 0.0.2+1
2+
3+
* Add CHANGELOG.
4+
5+
## 0.0.1
6+
7+
* Initial open source release.

packages/connectivity/connectivity_macos/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# shared_preferences_macos
1+
# connectivity_macos
22

33
The macos implementation of [`connectivity`].
44

packages/connectivity/connectivity_macos/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: connectivity_macos
22
description: macOS implementation of the connectivity plugin.
3-
version: 0.0.2
3+
version: 0.0.2+1
44
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_macos
55

66
flutter:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## 0.0.2+1
2+
3+
* Update README.
4+
5+
## 0.0.1
6+
7+
* Initial open source release.

packages/path_provider/path_provider_macos/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ This is what the above means to your `pubspec.yaml`:
1919
...
2020
dependencies:
2121
...
22-
path_provider: ^0.5.4+8
23-
path_provider_macos: ^0.1.0
22+
path_provider: ^1.5.1
23+
path_provider_macos: ^0.0.1
2424
...
2525
```
2626

packages/path_provider/path_provider_macos/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: path_provider_macos
22
description: macOS implementation of the path_provider plugin
3-
version: 0.0.2
3+
version: 0.0.2+1
44
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos
55

66
flutter:

packages/shared_preferences/shared_preferences_macos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.1+3
2+
3+
* Update README.
4+
15
## 0.0.1+2
26

37
* Remove unused onMethodCall method.

packages/shared_preferences/shared_preferences_macos/README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,29 @@ The macos implementation of [`shared_preferences`][1].
66

77
### Import the package
88

9-
To use this plugin in your Flutter app, simply add it as a dependency in
10-
your `pubspec.yaml` alongside the base `shared_preferences` plugin.
11-
12-
_(This is only temporary: in the future we hope to make this package an
13-
"endorsed" implementation of `shared_preferences`, so that it is automatically
14-
included in your Flutter app when you depend on `package:shared_preferences`.)_
9+
This package has been endorsed, meaning that you only need to add `shared_preferences`
10+
as a dependency in your `pubspec.yaml`. It will be automatically included in your app
11+
when you depend on `package:shared_preferences`.
1512

1613
This is what the above means to your `pubspec.yaml`:
1714

1815
```yaml
1916
...
2017
dependencies:
2118
...
22-
shared_preferences: ^0.5.4+8
23-
shared_preferences_macos: ^0.1.0
19+
shared_preferences: ^0.5.6
2420
...
2521
```
2622

27-
### Use the plugin
23+
If you wish to use the macos package only, you can add `shared_preferences_macos` as a
24+
dependency:
2825

29-
Once you have the `shared_preferences_macos` dependency in your pubspec, you should
30-
be able to use `package:shared_preferences` as normal.
26+
```yaml
27+
...
28+
dependencies:
29+
...
30+
shared_preferences_macos: ^0.0.1
31+
...
32+
```
3133

32-
[1]: ../shared_preferences/shared_preferences_macos
34+
[1]: ../shared_preferences/shared_preferences

packages/shared_preferences/shared_preferences_macos/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: shared_preferences_macos
22
description: macOS implementation of the shared_preferences plugin.
3-
version: 0.0.1+2
3+
version: 0.0.1+3
44
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_macos
55

66
flutter:
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
# 0.0.1+2
2+
3+
* Update README.
4+
15
# 0.0.1+1
26

3-
* Add an android/ folder with no-op implementation to workaround https://github.com/flutter/flutter/issues/46304
7+
* Add an android/ folder with no-op implementation to workaround https://
8+
49
# 0.0.1
510

6-
* Initial open-source release.
11+
* Initial open source release.
12+

0 commit comments

Comments
 (0)