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

Commit 00a767c

Browse files
committed
Update dependencies of all plugins
1 parent 2588a38 commit 00a767c

File tree

32 files changed

+139
-56
lines changed

32 files changed

+139
-56
lines changed

.travis.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,6 @@ matrix:
4848
- os: linux
4949
env:
5050
- SHARD=Build-example-APKs
51-
language: android
52-
licenses:
53-
- 'android-sdk-preview-license-.+'
54-
- 'android-sdk-license-.+'
55-
- 'google-gdk-license-.+'
56-
android:
57-
components:
58-
- tools
59-
- platform-tools
60-
- build-tools-25.0.3
61-
- android-25
62-
- extra-android-m2repository
63-
- extra-google-m2repository
64-
- extra-google-android-support
6551
jdk: oraclejdk8
6652
sudo: false
6753
addons:
@@ -70,15 +56,30 @@ matrix:
7056
sources:
7157
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
7258
packages:
59+
- lib32stdc++6 # https://github.com/flutter/flutter/issues/6207
7360
- libstdc++6
7461
- fonts-droid
7562
before_script:
63+
- wget https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
64+
- mkdir android-sdk
65+
- unzip -qq sdk-tools-linux-3859397.zip -d android-sdk
66+
- export ANDROID_HOME=`pwd`/android-sdk
67+
- export PATH=`pwd`/android-sdk/tools/bin:$PATH
68+
- mkdir -p /home/travis/.android # silence sdkmanager warning
69+
- echo 'count=0' > /home/travis/.android/repositories.cfg # silence sdkmanager warning
70+
- echo y | sdkmanager "tools"
71+
- echo y | sdkmanager "platform-tools"
72+
- echo y | sdkmanager "build-tools;25.0.3"
73+
- echo y | sdkmanager "platforms;android-25"
74+
- echo y | sdkmanager "extras;android;m2repository"
75+
- echo y | sdkmanager "extras;google;m2repository"
76+
- echo y | sdkmanager "patcher;v4"
77+
- sdkmanager --list
7678
- wget http://services.gradle.org/distributions/gradle-3.5-bin.zip
7779
- unzip -qq gradle-3.5-bin.zip
7880
- export GRADLE_HOME=$PWD/gradle-3.5
7981
- export PATH=$GRADLE_HOME/bin:$PATH
8082
- gradle -v
81-
- android list targets
8283
- git clone https://github.com/flutter/flutter.git --depth 1
8384
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
8485
- flutter doctor

packages/firebase_analytics/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.3
2+
3+
* Updated to Firebase SDK Version 11.0.1
4+
15
## 0.0.2
26

37
* Bumped buildToolsVersion to 25.0.3

packages/firebase_analytics/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030
disable 'InvalidPackage'
3131
}
3232
dependencies {
33-
compile 'com.google.firebase:firebase-auth:10.2.1'
34-
compile 'com.google.firebase:firebase-analytics:10.2.1'
33+
compile 'com.google.firebase:firebase-auth:11.0.1'
34+
compile 'com.google.firebase:firebase-analytics:11.0.1'
3535
}
3636
}

packages/firebase_analytics/example/android/app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ android {
2424

2525
defaultConfig {
2626
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
27+
applicationId "io.flutter.firebaseanalyticsexample"
2728
}
2829

2930
buildTypes {
@@ -40,7 +41,7 @@ flutter {
4041
}
4142

4243
dependencies {
43-
compile 'com.google.firebase:firebase-core:10.0.1'
44+
compile 'com.google.firebase:firebase-core:11.0.1'
4445
}
4546

4647
apply plugin: 'com.google.gms.google-services'

packages/firebase_analytics/example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
}
55

66
dependencies {
7-
classpath 'com.android.tools.build:gradle:2.3.1'
8-
classpath 'com.google.gms:google-services:3.0.0'
7+
classpath 'com.android.tools.build:gradle:2.2.3'
8+
classpath 'com.google.gms:google-services:3.1.0'
99
}
1010
}
1111

packages/firebase_analytics/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: firebase_analytics
33
description: Firebase Analytics plugin for Flutter.
44
author: Flutter Team <flutter-dev@googlegroups.com>
55
homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_analytics
6-
version: 0.0.2
6+
version: 0.0.3
77

88
flutter:
99
plugin:

packages/firebase_auth/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 0.1.0
2+
3+
* Updated to Firebase SDK Version 11.0.1
4+
* **Breaking Change**: You need to add a maven section with the "https://maven.google.com" endpoint to the repository section of your `android/build.gradle`. For example:
5+
```gradle
6+
allprojects {
7+
repositories {
8+
jcenter()
9+
maven { // NEW
10+
url "https://maven.google.com" // NEW
11+
} // NEW
12+
}
13+
}
14+
```
15+
116
## 0.0.4
217

318
* Add method getToken() to FirebaseUser

packages/firebase_auth/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies {
2525
// Example existing classpath
2626
classpath 'com.android.tools.build:gradle:2.2.3'
2727
// Add the google services classpath
28-
classpath 'com.google.gms:google-services:3.0.0'
28+
classpath 'com.google.gms:google-services:3.1.0'
2929
}
3030
```
3131

@@ -35,15 +35,15 @@ dependencies {
3535
apply plugin: 'com.google.gms.google-services'
3636
```
3737

38-
*Note:* If this section is not completed you will get an error like this:
38+
*Note:* If this section is not completed you will get an error like this:
3939
```
40-
java.lang.IllegalStateException:
41-
Default FirebaseApp is not initialized in this process [package name].
40+
java.lang.IllegalStateException:
41+
Default FirebaseApp is not initialized in this process [package name].
4242
Make sure to call FirebaseApp.initializeApp(Context) first.
4343
```
4444

45-
*Note:* When you are debugging on android, use a device or AVD with Google Play services.
46-
Otherwise you will not be able to authenticate.
45+
*Note:* When you are debugging on android, use a device or AVD with Google Play services.
46+
Otherwise you will not be able to authenticate.
4747

4848
### Use the plugin
4949

@@ -57,7 +57,7 @@ Initialize `FirebaseAuth`:
5757
final FirebaseAuth _auth = FirebaseAuth.instance;
5858
```
5959

60-
You can now use the Firebase `_auth` to authenticate in your Dart code, e.g.
60+
You can now use the Firebase `_auth` to authenticate in your Dart code, e.g.
6161
```
6262
Future<Null> _handleSignIn() async {
6363
try {
@@ -76,7 +76,7 @@ Future<Null> _handleSignIn() async {
7676

7777
## Example
7878

79-
See the [example application](https://github.com/flutter/plugins/tree/master/packages/firebase_auth/example) source
79+
See the [example application](https://github.com/flutter/plugins/tree/master/packages/firebase_auth/example) source
8080
for a complete sample app using the Firebase authentication.
8181

8282
## Issues and feedback

packages/firebase_auth/android/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ buildscript {
1414
allprojects {
1515
repositories {
1616
jcenter()
17+
maven {
18+
url "https://maven.google.com"
19+
}
1720
}
1821
}
1922

@@ -31,7 +34,7 @@ android {
3134
}
3235
dependencies {
3336
compile 'com.google.guava:guava:20.0'
34-
compile 'com.google.firebase:firebase-core:10.2.1'
35-
compile 'com.google.firebase:firebase-auth:10.2.1'
37+
compile 'com.google.firebase:firebase-core:11.0.1'
38+
compile 'com.google.firebase:firebase-auth:11.0.1'
3639
}
3740
}

packages/firebase_auth/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ flutter {
4141
}
4242

4343
dependencies {
44-
androidTestCompile 'com.android.support:support-annotations:24.0.0'
44+
androidTestCompile 'com.android.support:support-annotations:25.0.0'
4545
androidTestCompile 'com.android.support.test:runner:0.5'
4646
androidTestCompile 'com.android.support.test:rules:0.5'
4747
}

0 commit comments

Comments
 (0)