Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/firebase_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.0+7

* Fix Android compilation warning.

## 0.4.0+6

* Automatically use version from pubspec.yaml when reporting usage to Firebase.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private FirebaseCorePlugin(Context context) {
this.context = context;
}

private Map asMap(FirebaseApp app) {
private Map<String, Object> asMap(FirebaseApp app) {
Map<String, Object> appMap = new HashMap<>();
appMap.put("name", app.getName());
FirebaseOptions options = app.getOptions();
Expand Down Expand Up @@ -80,7 +80,7 @@ public void onMethodCall(MethodCall call, final Result result) {
}
case "FirebaseApp#appNamed":
{
String name = (String) call.arguments();
String name = call.arguments();
try {
FirebaseApp app = FirebaseApp.getInstance(name);
result.success(asMap(app));
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for Firebase Core, enabling connecting to multiple
Firebase apps.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_core
version: 0.4.0+6
version: 0.4.0+7

flutter:
plugin:
Expand Down