Skip to content

Commit

Permalink
fix: missing events of type GAMAdEventType in addAdEventListener
Browse files Browse the repository at this point in the history
  • Loading branch information
matganine authored and dylancom committed Sep 1, 2023
1 parent 17082e3 commit 073cc21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ads/MobileAd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export abstract class MobileAd implements MobileAdInterface {
if (
!(
isOneOf(type, Object.values(AdEventType)) ||
isOneOf(type, Object.values(GAMAdEventType)) ||
(isOneOf(type, Object.values(RewardedAdEventType)) &&
(this._type === 'rewarded' || this._type === 'rewarded_interstitial'))
)
Expand Down

0 comments on commit 073cc21

Please sign in to comment.