Skip to content

Commit

Permalink
bug/fix_OnMRecAdExpandedEvent_not_called (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmso authored May 30, 2022
1 parent d4603d6 commit 21800f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Versions

## x.x.x
* Fix "OnMRecAdExpandedEvent" not being called when MRECs are expanded.
## 1.0.8
* Remove `NSAdvertisingAttributionReportEndpoint` from `Info.plist`.
## 1.0.7
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/android/AppLovinMAX.java
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ public void onAdExpanded(final MaxAd ad)
return;
}

fireWindowEvent( ( MaxAdFormat.MREC == adFormat ) ? "OnMrecAdCollapsedEvent" : "OnBannerAdExpandedEvent", getAdInfo( ad ) );
fireWindowEvent( ( MaxAdFormat.MREC == adFormat ) ? "OnMRecAdExpandedEvent" : "OnBannerAdExpandedEvent", getAdInfo( ad ) );
}

@Override
Expand Down

0 comments on commit 21800f6

Please sign in to comment.