Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit fd5832b

Browse files
authored
Update all pubspecs to work with the latest version of pub and Flutter (#2382)
* Migrated all plugins to the new [plugin platforms manifest](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms) * Removed `author:` and `authors:` fields from all pubspecs as the fields are deprecated, moved author names from various plugins to the repository's AUTHORS file.
1 parent 2f01d48 commit fd5832b

File tree

86 files changed

+336
-159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+336
-159
lines changed

AUTHORS

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ Audrius Karosevicius <audrius.karosevicius@gmail.com>
4343
Lukasz Piliszczuk <lukasz@intheloup.io>
4444
SoundReply Solutions GmbH <ch@soundreply.com>
4545
Rafal Wachol <rwachol@gmail.com>
46-
Pau Picas <pau.picas@gmail.com>
46+
Pau Picas <pau.picas@gmail.com>
47+
Rhodes Davis Jr. <rody.davis.jr@gmail.com>
48+
Luigi Agosti <luigi@tengio.com>
49+
Quentin Le Guennec <quentin@tengio.com>
50+
Koushik Ravikumar <koushik@tengio.com>
51+
Nissim Dsilva <nissim@tengio.com>

packages/android_alarm_manager/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.4.5+2
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 0.4.5+1
28

39
* Loosen Flutter version restriction to 1.9.1. **NOTE: plugin registration

packages/android_alarm_manager/pubspec.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: android_alarm_manager
22
description: Flutter plugin for accessing the Android AlarmManager service, and
33
running Dart code in the background when alarms fire.
4-
version: 0.4.5+1
5-
author: Flutter Team <flutter-dev@googlegroups.com>
4+
version: 0.4.5+2
65
homepage: https://github.com/flutter/plugins/tree/master/packages/android_alarm_manager
76

87
dependencies:
@@ -22,4 +21,4 @@ flutter:
2221

2322
environment:
2423
sdk: ">=2.0.0-dev.28.0 <3.0.0"
25-
flutter: ">=1.9.1 <2.0.0"
24+
flutter: ">=1.10.0 <2.0.0"

packages/android_intent/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.3.4+8
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 0.3.4+7
28

39
* Fix pedantic linter errors.

packages/android_intent/pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: android_intent
22
description: Flutter plugin for launching Android Intents. Not supported on iOS.
3-
author: Flutter Team <flutter-dev@googlegroups.com>
43
homepage: https://github.com/flutter/plugins/tree/master/packages/android_intent
5-
version: 0.3.4+7
4+
version: 0.3.4+8
65

76
flutter:
87
plugin:
9-
androidPackage: io.flutter.plugins.androidintent
10-
iosPrefix: FLT
11-
pluginClass: AndroidIntentPlugin
8+
platforms:
9+
android:
10+
package: io.flutter.plugins.androidintent
11+
pluginClass: AndroidIntentPlugin
1212

1313
dependencies:
1414
flutter:
@@ -22,4 +22,4 @@ dev_dependencies:
2222
sdk: flutter
2323
environment:
2424
sdk: ">=2.0.0-dev.28.0 <3.0.0"
25-
flutter: ">=1.6.7 <2.0.0"
25+
flutter: ">=1.10.0 <2.0.0"

packages/battery/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.3.1+6
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 0.3.1+5
28

39
* Fix pedantic linter errors.

packages/battery/ios/Classes/BatteryPlugin.m renamed to packages/battery/ios/Classes/FLTBatteryPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#import "BatteryPlugin.h"
5+
#import "FLTBatteryPlugin.h"
66

77
@interface FLTBatteryPlugin () <FlutterStreamHandler>
88
@end

packages/battery/pubspec.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
name: battery
22
description: Flutter plugin for accessing information about the battery state
33
(full, charging, discharging) on Android and iOS.
4-
author: Flutter Team <flutter-dev@googlegroups.com>
54
homepage: https://github.com/flutter/plugins/tree/master/packages/battery
6-
version: 0.3.1+5
5+
version: 0.3.1+6
76

87
flutter:
98
plugin:
10-
androidPackage: io.flutter.plugins.battery
11-
iosPrefix: FLT
12-
pluginClass: BatteryPlugin
9+
platforms:
10+
android:
11+
package: io.flutter.plugins.battery
12+
pluginClass: BatteryPlugin
13+
ios:
14+
pluginClass: FLTBatteryPlugin
1315

1416
dependencies:
1517
flutter:
@@ -26,4 +28,4 @@ dev_dependencies:
2628

2729
environment:
2830
sdk: ">=2.0.0-dev.28.0 <3.0.0"
29-
flutter: ">=1.6.7 <2.0.0"
31+
flutter: ">=1.10.0 <2.0.0"

packages/camera/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.5.7+2
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 0.5.7+1
28

39
* Fix example null exception.

packages/camera/example/pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: camera_example
22
description: Demonstrates how to use the camera plugin.
3-
author: Flutter Team <flutter-dev@googlegroups.com>
43

54
dependencies:
65
camera:

packages/camera/pubspec.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@ name: camera
22
description: A Flutter plugin for getting information about and controlling the
33
camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video,
44
and streaming image buffers to dart.
5-
version: 0.5.7+1
6-
7-
authors:
8-
- Flutter Team <flutter-dev@googlegroups.com>
9-
- Luigi Agosti <luigi@tengio.com>
10-
- Quentin Le Guennec <quentin@tengio.com>
11-
- Koushik Ravikumar <koushik@tengio.com>
12-
- Nissim Dsilva <nissim@tengio.com>
5+
version: 0.5.7+2
136

147
homepage: https://github.com/flutter/plugins/tree/master/packages/camera
158

@@ -27,9 +20,13 @@ dev_dependencies:
2720

2821
flutter:
2922
plugin:
30-
androidPackage: io.flutter.plugins.camera
31-
pluginClass: CameraPlugin
23+
platforms:
24+
android:
25+
package: io.flutter.plugins.camera
26+
pluginClass: CameraPlugin
27+
ios:
28+
pluginClass: CameraPlugin
3229

3330
environment:
3431
sdk: ">=2.0.0-dev.28.0 <3.0.0"
35-
flutter: ">=1.6.7 <2.0.0"
32+
flutter: ">=1.10.0 <2.0.0"

packages/connectivity/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.4.6+1
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 0.4.6
28

39
* Add macOS support.

packages/connectivity/ios/Classes/ConnectivityPlugin.m renamed to packages/connectivity/ios/Classes/FLTConnectivityPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#import "ConnectivityPlugin.h"
5+
#import "FLTConnectivityPlugin.h"
66

77
#import "Reachability/Reachability.h"
88

packages/connectivity/pubspec.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
name: connectivity
22
description: Flutter plugin for discovering the state of the network (WiFi &
33
mobile/cellular) connectivity on Android and iOS.
4-
author: Flutter Team <flutter-dev@googlegroups.com>
54
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity
6-
version: 0.4.6
5+
version: 0.4.6+1
76

87
flutter:
98
plugin:
10-
androidPackage: io.flutter.plugins.connectivity
11-
iosPrefix: FLT
12-
pluginClass: ConnectivityPlugin
9+
platforms:
10+
android:
11+
package: io.flutter.plugins.connectivity
12+
pluginClass: ConnectivityPlugin
13+
ios:
14+
pluginClass: FLTConnectivityPlugin
1315

1416
dependencies:
1517
flutter:
@@ -26,4 +28,4 @@ dev_dependencies:
2628

2729
environment:
2830
sdk: ">=2.0.0-dev.28.0 <3.0.0"
29-
flutter: ">=1.6.7 <2.0.0"
31+
flutter: ">=1.10.0 <2.0.0"

packages/device_info/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.4.1+4
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 0.4.1+3
28

39
* Fix pedantic errors. Adds some missing documentation and fixes unawaited

packages/device_info/ios/Classes/DeviceInfoPlugin.m renamed to packages/device_info/ios/Classes/FLTDeviceInfoPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#import "DeviceInfoPlugin.h"
5+
#import "FLTDeviceInfoPlugin.h"
66
#import <sys/utsname.h>
77

88
@implementation FLTDeviceInfoPlugin

packages/device_info/pubspec.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
name: device_info
22
description: Flutter plugin providing detailed information about the device
33
(make, model, etc.), and Android or iOS version the app is running on.
4-
author: Flutter Team <flutter-dev@googlegroups.com>
54
homepage: https://github.com/flutter/plugins/tree/master/packages/device_info
6-
version: 0.4.1+3
5+
version: 0.4.1+4
76

87
flutter:
98
plugin:
10-
androidPackage: io.flutter.plugins.deviceinfo
11-
iosPrefix: FLT
12-
pluginClass: DeviceInfoPlugin
9+
platforms:
10+
android:
11+
package: io.flutter.plugins.deviceinfo
12+
pluginClass: DeviceInfoPlugin
13+
ios:
14+
pluginClass: FLTDeviceInfoPlugin
1315

1416
dependencies:
1517
flutter:
@@ -23,4 +25,4 @@ dev_dependencies:
2325

2426
environment:
2527
sdk: ">=2.0.0-dev.28.0 <3.0.0"
26-
flutter: ">=1.6.7 <2.0.0"
28+
flutter: ">=1.10.0 <2.0.0"

packages/e2e/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.2.2+3
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 0.2.2+2
28

39
* Adds an android dummy project to silence warnings and removes unnecessary

packages/e2e/pubspec.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: e2e
22
description: Runs tests that use the flutter_test API as integration tests.
3-
version: 0.2.2+2
4-
author: Flutter Team <flutter-dev@googlegroups.com>
3+
version: 0.2.2+3
54
homepage: https://github.com/flutter/plugins/tree/master/packages/e2e
65

76
environment:
87
sdk: ">=2.1.0 <3.0.0"
9-
flutter: ">=1.6.7 <2.0.0"
8+
flutter: ">=1.10.0 <2.0.0"
109

1110
dependencies:
1211
flutter:
@@ -16,5 +15,9 @@ dependencies:
1615

1716
flutter:
1817
plugin:
19-
androidPackage: dev.flutter.plugins.e2e
20-
pluginClass: E2EPlugin
18+
platforms:
19+
android:
20+
package: dev.flutter.plugins.e2e
21+
pluginClass: E2EPlugin
22+
ios:
23+
pluginClass: E2EPlugin

packages/flutter_plugin_android_lifecycle/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.0.3
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Require Flutter SDK 1.10.0 or greater.
5+
16
## 1.0.2
27

38
* Adapt to the embedding API changes in https://github.com/flutter/engine/pull/13280 (only supports Activity Lifecycle).

packages/flutter_plugin_android_lifecycle/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: flutter_plugin_android_lifecycle
22
description: Flutter plugin for accessing an Android Lifecycle within other plugins.
3-
version: 1.0.2
4-
author: Flutter Team <flutter-dev@googlegroups.com>
3+
version: 1.0.3
54
homepage: https://github.com/flutter/plugins/tree/master/packages/flutter_plugin_android_lifecycle
65

76
environment:
87
sdk: ">=2.1.0 <3.0.0"
8+
flutter: ">=1.10.0 <2.0.0"
99

1010
dependencies:
1111
flutter:

packages/google_maps_flutter/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.5.21+15
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 0.5.21+14
28

39
* Adds support for toggling 3D buildings.

packages/google_maps_flutter/ios/Classes/GoogleMapsPlugin.m renamed to packages/google_maps_flutter/ios/Classes/FLTGoogleMapsPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#import "GoogleMapsPlugin.h"
5+
#import "FLTGoogleMapsPlugin.h"
66

77
#pragma mark - GoogleMaps plugin implementation
88

packages/google_maps_flutter/pubspec.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: google_maps_flutter
22
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
3-
author: Flutter Team <flutter-dev@googlegroups.com>
43
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter
5-
version: 0.5.21+14
4+
version: 0.5.21+15
65

76
dependencies:
87
flutter:
@@ -20,11 +19,14 @@ dev_dependencies:
2019

2120
flutter:
2221
plugin:
23-
androidPackage: io.flutter.plugins.googlemaps
24-
iosPrefix: FLT
25-
pluginClass: GoogleMapsPlugin
22+
platforms:
23+
android:
24+
package: io.flutter.plugins.googlemaps
25+
pluginClass: GoogleMapsPlugin
26+
ios:
27+
pluginClass: FLTGoogleMapsPlugin
2628

2729

2830
environment:
2931
sdk: ">=2.0.0-dev.47.0 <3.0.0"
30-
flutter: ">=1.5.0 <2.0.0"
32+
flutter: ">=1.10.0 <2.0.0"

packages/google_sign_in/google_sign_in/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 4.0.16
2+
3+
* Remove the deprecated `author:` field from pubspec.yaml
4+
* Migrate the plugin to the pubspec platforms manifest.
5+
* Require Flutter SDK 1.10.0 or greater.
6+
17
## 4.0.15
28

39
* Export SignInOption from interface since it is used in the frontend as a type.

packages/google_sign_in/google_sign_in/ios/Classes/GoogleSignInPlugin.m renamed to packages/google_sign_in/google_sign_in/ios/Classes/FLTGoogleSignInPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
#import "GoogleSignInPlugin.h"
5+
#import "FLTGoogleSignInPlugin.h"
66
#import <GoogleSignIn/GoogleSignIn.h>
77

88
// The key within `GoogleService-Info.plist` used to hold the application's

0 commit comments

Comments
 (0)