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

Commit e540aac

Browse files
committed
Migrate all plugins to the new platforms schema
1 parent 2c583e3 commit e540aac

71 files changed

Lines changed: 215 additions & 83 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.

packages/android_alarm_manager/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## 0.4.5+2
22

33
* 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.
46

57
## 0.4.5+1
68

packages/android_alarm_manager/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ flutter:
2121

2222
environment:
2323
sdk: ">=2.0.0-dev.28.0 <3.0.0"
24-
flutter: ">=1.9.1 <2.0.0"
24+
flutter: ">=1.10.0 <2.0.0"

packages/android_intent/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## 0.3.4+8
22

33
* 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.
46

57
## 0.3.4+7
68

packages/android_intent/pubspec.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ version: 0.3.4+8
55

66
flutter:
77
plugin:
8-
androidPackage: io.flutter.plugins.androidintent
9-
iosPrefix: FLT
10-
pluginClass: AndroidIntentPlugin
8+
platforms:
9+
android:
10+
package: io.flutter.plugins.androidintent
11+
pluginClass: AndroidIntentPlugin
1112

1213
dependencies:
1314
flutter:
@@ -21,4 +22,4 @@ dev_dependencies:
2122
sdk: flutter
2223
environment:
2324
sdk: ">=2.0.0-dev.28.0 <3.0.0"
24-
flutter: ">=1.6.7 <2.0.0"
25+
flutter: ">=1.10.0 <2.0.0"

packages/battery/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## 0.3.1+6
22

33
* 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.
46

57
## 0.3.1+5
68

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# NOTE: This podspec is NOT to be published. It is only used as a local source!
3+
#
4+
5+
Pod::Spec.new do |s|
6+
s.name = 'Flutter'
7+
s.version = '1.0.0'
8+
s.summary = 'High-performance, high-fidelity mobile apps.'
9+
s.description = <<-DESC
10+
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
11+
DESC
12+
s.homepage = 'https://flutter.io'
13+
s.license = { :type => 'MIT' }
14+
s.author = { 'Flutter Dev Team' => '[email protected]' }
15+
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
16+
s.ios.deployment_target = '8.0'
17+
s.vendored_frameworks = 'Flutter.framework'
18+
end
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: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ version: 0.3.1+6
66

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

1316
dependencies:
1417
flutter:
@@ -25,4 +28,4 @@ dev_dependencies:
2528

2629
environment:
2730
sdk: ">=2.0.0-dev.28.0 <3.0.0"
28-
flutter: ">=1.6.7 <2.0.0"
31+
flutter: ">=1.10.0 <2.0.0"

packages/camera/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## 0.5.7+2
22

33
* 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.
46

57
## 0.5.7+1
68

0 commit comments

Comments
 (0)