Skip to content

Commit 220c9b2

Browse files
authored
Bump firebase_storage Android dependencies to latest (flutter#834)
1 parent ad16b4a commit 220c9b2

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

packages/firebase_storage/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.4
2+
3+
* Bump Android dependencies to latest.
4+
15
## 1.0.3
26

37
* Added monitoring of StorageUploadTask via `events` stream.

packages/firebase_storage/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.1.3'
11+
classpath 'com.android.tools.build:gradle:3.2.0'
1212
}
1313
}
1414

@@ -40,6 +40,6 @@ android {
4040
disable 'InvalidPackage'
4141
}
4242
dependencies {
43-
api 'com.google.firebase:firebase-storage:16.0.1'
43+
api 'com.google.firebase:firebase-storage:16.0.3'
4444
}
4545
}

packages/firebase_storage/android/src/main/java/io/flutter/plugins/firebase/storage/FirebaseStoragePlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ private StorageMetadata buildMetadataFromMap(Map<String, Object> map) {
285285
builder.setContentLanguage((String) map.get("contentLanguage"));
286286
builder.setContentType((String) map.get("contentType"));
287287

288+
@SuppressWarnings("unchecked")
288289
Map<String, String> customMetadata = (Map<String, String>) map.get("customMetadata");
289290
if (customMetadata != null) {
290291
for (String key : customMetadata.keySet()) {

packages/firebase_storage/example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.1.3'
10-
classpath 'com.google.gms:google-services:4.0.1'
9+
classpath 'com.android.tools.build:gradle:3.2.0'
10+
classpath 'com.google.gms:google-services:4.1.0'
1111
}
1212
}
1313

packages/firebase_storage/example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip

packages/firebase_storage/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
sdk: flutter
88
firebase_storage:
99
path: ../
10-
firebase_core: "^0.2.3"
10+
firebase_core: "^0.2.5+1"
1111
uuid: "^1.0.0"
1212
http: ^0.12.0
1313

packages/firebase_storage/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for Firebase Cloud Storage, a powerful, simple, and
33
cost-effective object storage service for Android and iOS.
44
author: Flutter Team <[email protected]>
55
homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_storage
6-
version: 1.0.3
6+
version: 1.0.4
77

88
flutter:
99
plugin:

0 commit comments

Comments
 (0)