Skip to content

Commit

Permalink
[firebase_admob]add missing type params for invokeMethod and bump min…
Browse files Browse the repository at this point in the history
… flutter version to 1.5.0 (flutter#1651)
  • Loading branch information
Chris Yang committed May 29, 2019
1 parent bc04a77 commit af210d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 5 additions & 0 deletions packages/firebase_admob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.9.0+1

* Add missing template type parameter to `invokeMethod` calls.
* Bump minimum Flutter version to 1.5.0.

## 0.9.0

* Update Android dependencies to latest.
Expand Down
5 changes: 1 addition & 4 deletions packages/firebase_admob/lib/firebase_admob.dart
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,7 @@ class FirebaseAdMob {
}

Future<bool> _invokeBooleanMethod(String method, [dynamic arguments]) async {
// TODO(amirh): remove this on when the invokeMethod update makes it to stable Flutter.
// https://github.com/flutter/flutter/issues/26431
// ignore: strong_mode_implicit_dynamic_method
final bool result = await FirebaseAdMob.instance._channel.invokeMethod(
final bool result = await FirebaseAdMob.instance._channel.invokeMethod<bool>(
method,
arguments,
);
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_admob/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: firebase_admob
description: Firebase AdMob plugin for Flutter applications.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_admob
version: 0.9.0
version: 0.9.0+1

flutter:
plugin:
Expand All @@ -24,4 +24,4 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=0.1.4 <2.0.0"
flutter: ">=1.5.0 <2.0.0"

0 comments on commit af210d0

Please sign in to comment.