[ios][admob] Check AdMob exists

This commit is contained in:
Elliot Hesp
2017-06-20 13:22:09 +01:00
parent 1ce252fbf3
commit 52d94763bb
13 changed files with 42 additions and 7 deletions

View File

@@ -60,7 +60,6 @@ class AdMobComponent extends React.Component {
* @param nativeEvent
*/
onBannerEvent = ({ nativeEvent }) => {
console.log('EVENT', nativeEvent)
if (this.props[nativeEvent.type]) {
if (nativeEvent.type === 'onAdFailedToLoad') {
const { code, message } = nativeEvent.payload;