Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
fix(ios): fix present error not logged
Browse files Browse the repository at this point in the history
  • Loading branch information
wjaykim committed Nov 2, 2021
1 parent 7b9c200 commit 3f5d229
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/Ads/RNAdMobFullScreenAd.swift
Expand Up @@ -156,10 +156,10 @@ class RNAdMobFullScreenAd<T>: NSObject {
} else {
if (reject != nil) {
reject!("E_AD_NOT_READY", "Ad is not ready", nil)
var error = Dictionary<String, Any>()
error.updateValue("Ad is not ready", forKey: "message")
sendEvent(eventName: kEventAdFailedToPresent, requestId: requestId, data: error)
}
var error = Dictionary<String, Any>()
error.updateValue("Ad is not ready", forKey: "message")
sendEvent(eventName: kEventAdFailedToPresent, requestId: requestId, data: error)
}
}
}
Expand Down

0 comments on commit 3f5d229

Please sign in to comment.