Skip to content

Commit

Permalink
[all] Migrate pubspec to platforms manifest (firebase#1585)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Yang authored Dec 10, 2019
1 parent ef19bba commit d6e35c2
Show file tree
Hide file tree
Showing 74 changed files with 280 additions and 125 deletions.
24 changes: 20 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ task:
matrix:
- name: publishable
script:
- flutter channel stable
# Temporarily disabling CI on stable to allow using new Flutter features closely
# before a new release.
# TODO(cyanglaz): re-enable this
# https://github.com/flutter/flutter/issues/46258
- flutter channel master
- ./script/check_publish.sh
- name: format
install_script:
Expand All @@ -27,7 +31,11 @@ task:
env:
matrix:
CHANNEL: "master"
CHANNEL: "stable"
# Temporarily disabling CI on stable to allow using new Flutter features closely
# before a new release.
# TODO(cyanglaz): re-enable this
# https://github.com/flutter/flutter/issues/46258
# CHANNEL: "stable"
test_script:
# TODO(jackson): Allow web plugins once supported on stable
# https://github.com/flutter/flutter/issues/42864
Expand All @@ -43,7 +51,11 @@ task:
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 2"
matrix:
CHANNEL: "master"
CHANNEL: "stable"
# Temporarily disabling CI on stable to allow using new Flutter features closely
# before a new release.
# TODO(cyanglaz): re-enable this
# https://github.com/flutter/flutter/issues/46258
# CHANNEL: "stable"
GCLOUD_FIREBASE_TESTLAB_KEY: ENCRYPTED[fd81ffb7c44af2f8a1ae55e470c69690c1ec7e90aba49d18635fa4f3c72b6807034287e9e697f64e37ab836a66ba9eab]
script:
# TODO(jackson): Allow web plugins once supported on stable
Expand Down Expand Up @@ -98,7 +110,11 @@ task:
PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4"
matrix:
CHANNEL: "master"
CHANNEL: "stable"
# Temporarily disabling CI on stable to allow using new Flutter features closely
# before a new release.
# TODO(cyanglaz): re-enable this
# https://github.com/flutter/flutter/issues/46258
# CHANNEL: "stable"
build_script:
# TODO(jackson): Allow web plugins once supported on stable
# https://github.com/flutter/flutter/issues/42864
Expand Down
6 changes: 6 additions & 0 deletions packages/cloud_firestore/cloud_firestore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.13.0+1

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Bump the minimum Flutter version to 1.10.0.

## 0.13.0

* **Breaking change** Remove use of [deprecated](https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/FirebaseFirestoreSettings.Builder.html#setTimestampsInSnapshotsEnabled(boolean))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "CloudFirestorePlugin.h"
#import "FLTCloudFirestorePlugin.h"
#import "UserAgent.h"

#import <Firebase/Firebase.h>
Expand Down
14 changes: 8 additions & 6 deletions packages/cloud_firestore/cloud_firestore/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ name: cloud_firestore
description:
Flutter plugin for Cloud Firestore, a cloud-hosted, noSQL database with
live synchronization and offline support on Android and iOS.
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore
version: 0.13.0
version: 0.13.0+1

flutter:
plugin:
androidPackage: io.flutter.plugins.firebase.cloudfirestore
iosPrefix: FLT
pluginClass: CloudFirestorePlugin
platforms:
android:
package: io.flutter.plugins.firebase.cloudfirestore
pluginClass: CloudFirestorePlugin
ios:
pluginClass: FLTCloudFirestorePlugin

dependencies:
flutter:
Expand All @@ -28,4 +30,4 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.5.0 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/cloud_functions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.1+5

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Bump the minimum Flutter version to 1.10.0.

## 0.4.1+4

* Updated README instructions for contributing for consistency with other Flutterfire plugins.
Expand Down
13 changes: 8 additions & 5 deletions packages/cloud_functions/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: cloud_functions
description: Flutter plugin for Cloud Functions.
version: 0.4.1+4
author: Flutter Team <[email protected]>
version: 0.4.1+5
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/cloud_functions

flutter:
plugin:
androidPackage: io.flutter.plugins.firebase.cloudfunctions
pluginClass: CloudFunctionsPlugin
platforms:
android:
package: io.flutter.plugins.firebase.cloudfunctions
pluginClass: CloudFunctionsPlugin
ios:
pluginClass: CloudFunctionsPlugin

dependencies:
meta: ^1.1.6
Expand All @@ -24,4 +27,4 @@ dev_dependencies:

environment:
sdk: '>=2.0.0-dev.28.0 <3.0.0'
flutter: '>=0.2.4 <2.0.0'
flutter: '>=1.10.0 <2.0.0'
6 changes: 6 additions & 0 deletions packages/firebase_admob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.9.0+10

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Bump the minimum Flutter version to 1.10.0.

## 0.9.0+9

* Updated README instructions for contributing for consistency with other Flutterfire plugins.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "FirebaseAdMobPlugin.h"
#import "FLTFirebaseAdMobPlugin.h"

#import <UIKit/UIKit.h>

Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_admob/ios/Classes/FLTMobileAd.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// found in the LICENSE file.

#import "FLTMobileAd.h"
#import "FLTFirebaseAdMobPlugin.h"
#import "FLTRequestFactory.h"
#import "FirebaseAdMobPlugin.h"

static NSMutableDictionary *allAds = nil;
static NSDictionary *statusToString = nil;
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_admob/ios/Classes/FLTRequestFactory.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// found in the LICENSE file.

#import "FLTRequestFactory.h"
#import "FirebaseAdMobPlugin.h"
#import "FLTFirebaseAdMobPlugin.h"
#import "GoogleMobileAds/GADExtras.h"
#import "GoogleMobileAds/GoogleMobileAds.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// found in the LICENSE file.

#import "FLTRewardedVideoAdWrapper.h"
#import "FLTFirebaseAdMobPlugin.h"
#import "FLTRequestFactory.h"
#import "FirebaseAdMobPlugin.h"

static NSDictionary *rewardedStatusToString = nil;

Expand Down
14 changes: 8 additions & 6 deletions packages/firebase_admob/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: firebase_admob
description: Flutter plugin for Firebase AdMob, supporting
banner, interstitial (full-screen), and rewarded video ads
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_admob
version: 0.9.0+9
version: 0.9.0+10

flutter:
plugin:
androidPackage: io.flutter.plugins.firebaseadmob
iosPrefix: FLT
pluginClass: FirebaseAdMobPlugin
platforms:
android:
package: io.flutter.plugins.firebaseadmob
pluginClass: FirebaseAdMobPlugin
ios:
pluginClass: FLTFirebaseAdMobPlugin

dependencies:
meta: ^1.0.4
Expand All @@ -25,4 +27,4 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.5.0 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/firebase_analytics/firebase_analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 5.0.9

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Bump the minimum Flutter version to 1.10.0.

## 5.0.8

* Update homepage since the package moved for the platform interface migration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "FirebaseAnalyticsPlugin.h"
#import "FLTFirebaseAnalyticsPlugin.h"
#import "UserAgent.h"

#import "Firebase/Firebase.h"
Expand Down
14 changes: 8 additions & 6 deletions packages/firebase_analytics/firebase_analytics/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: firebase_analytics
description: Flutter plugin for Google Analytics for Firebase, an app measurement
solution that provides insight on app usage and user engagement on Android and iOS.
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_analytics/firebase_analytics
version: 5.0.8
version: 5.0.9

flutter:
plugin:
androidPackage: io.flutter.plugins.firebaseanalytics
iosPrefix: FLT
pluginClass: FirebaseAnalyticsPlugin
platforms:
android:
package: io.flutter.plugins.firebaseanalytics
pluginClass: FirebaseAnalyticsPlugin
ios:
pluginClass: FLTFirebaseAnalyticsPlugin

dependencies:
meta: ^1.0.4
Expand All @@ -27,4 +29,4 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.9.1+hotfix.4 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1

* Remove the deprecated `author:` field from pubspec.yaml

## 1.0.0

* Initial open-source release.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: firebase_analytics_platform_interface
description: A common platform interface for the firebase_analytics plugin.
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_analytics/firebase_analytics_platform_interface
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 1.0.0
version: 1.0.1

dependencies:
flutter:
Expand Down
6 changes: 6 additions & 0 deletions packages/firebase_auth/firebase_auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.15.1+1

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Bump the minimum Flutter version to 1.10.0.

## 0.15.1

* Migrate to use `firebase_auth_platform_interface`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "FirebaseAuthPlugin.h"
#import "FLTFirebaseAuthPlugin.h"
#import "UserAgent.h"

#import "Firebase/Firebase.h"
Expand Down
13 changes: 7 additions & 6 deletions packages/firebase_auth/firebase_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ name: firebase_auth
description: Flutter plugin for Firebase Auth, enabling Android and iOS
authentication using passwords, phone numbers and identity providers
like Google, Facebook and Twitter.
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth/firebase_auth
version: 0.15.1
version: 0.15.1+1

flutter:
plugin:
androidPackage: io.flutter.plugins.firebaseauth
iosPrefix: FLT
pluginClass: FirebaseAuthPlugin
android:
package: io.flutter.plugins.firebaseauth
pluginClass: FirebaseAuthPlugin
ios:
pluginClass: FLTFirebaseAuthPlugin

dependencies:
meta: ^1.0.4
Expand All @@ -34,4 +35,4 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.5.0 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.2

- Remove the deprecated `author:` field from pubspec.yaml

## 1.1.1

- Fixed crash when platform returns an auth result where `additionalUserInfo`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: firebase_auth_platform_interface
description: A common platform interface for the firebase_auth plugin.
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth/firebase_auth_platform_interface
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 1.1.1
version: 1.1.2

dependencies:
flutter:
Expand Down
5 changes: 5 additions & 0 deletions packages/firebase_auth/firebase_auth_web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.1.0+2

* Remove the deprecated `author:` field from pubspec.yaml.
* Bump the minimum Flutter version to 1.10.0.

## 0.1.0+1

* Fixed serialization error for creationTime and lastSignInTime being RFC 1123.
Expand Down
5 changes: 2 additions & 3 deletions packages/firebase_auth/firebase_auth_web/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: firebase_auth_web
description: The web implementation of firebase_auth
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/packages/firebase_auth/firebase_auth_web
version: 0.1.0+1
version: 0.1.0+2

flutter:
plugin:
Expand Down Expand Up @@ -33,5 +32,5 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.9.1+hotfix.2 <2.0.0"
flutter: ">=1.10.0 <2.0.0"

6 changes: 6 additions & 0 deletions packages/firebase_core/firebase_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.2+2

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Bump the minimum Flutter version to 1.10.0.

## 0.4.2+1

* Check `kIsWeb` before checking `Platform.isIos` for the default app name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "FirebaseCorePlugin.h"
#import "FLTFirebaseCorePlugin.h"
#import "UserAgent.h"

#import <Firebase/Firebase.h>
Expand Down
Loading

0 comments on commit d6e35c2

Please sign in to comment.