Skip to content

Commit 6a7a4eb

Browse files
Victor Bonnetmravn-google
authored andcommitted
Fix broken listeners in firebase_admob (flutter#470)
1 parent 79f1f9c commit 6a7a4eb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/firebase_admob/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.1
2+
3+
* Fixed Dart 2 type errors.
4+
15
## 0.5.0
26

37
* **Breaking change**. The BannerAd constructor now requires an AdSize

packages/firebase_admob/lib/firebase_admob.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ class FirebaseAdMob {
466466

467467
Future<dynamic> _handleMethod(MethodCall call) {
468468
assert(call.arguments is Map);
469-
final Map<String, dynamic> argumentsMap = call.arguments;
469+
final Map<dynamic, dynamic> argumentsMap = call.arguments;
470470
final RewardedVideoAdEvent rewardedEvent =
471471
_methodToRewardedVideoAdEvent[call.method];
472472
if (rewardedEvent != null) {

packages/firebase_admob/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: firebase_admob
22
description: Firebase AdMob plugin for Flutter applications.
3-
version: 0.5.0
3+
version: 0.5.1
44
author: Flutter Team <flutter-dev@googlegroups.com>
55
homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_admob
66

0 commit comments

Comments
 (0)