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

86 files changed

Lines changed: 336 additions & 159 deletions

File tree

Some content is hidden

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

AUTHORS

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ Audrius Karosevicius <[email protected]>
4343
Lukasz Piliszczuk <[email protected]>
4444
SoundReply Solutions GmbH <[email protected]>
4545
Rafal Wachol <[email protected]>
46-
Pau Picas <[email protected]>
46+
Pau Picas <[email protected]>
47+
Rhodes Davis Jr. <[email protected]>
48+
Luigi Agosti <[email protected]>
49+
Quentin Le Guennec <[email protected]>
50+
Koushik Ravikumar <[email protected]>
51+
Nissim Dsilva <[email protected]>

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 <[email protected]>
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.
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 <[email protected]>
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.
File renamed without changes.

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 <[email protected]>
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.

0 commit comments

Comments
 (0)