react-native-admob/admob

The provided view controller is not being presented

ShivamJoker opened this issue · 6 comments

Description

The provided view controller is not being presented while trying to load the ad on iOS
Continuing from #48

Snack or minimal code example

Just the example from docs

Package versions

  • React Native: 0.66.1
  • React Native AdMob: ^1.2.1
  • Google Mobile Ads SDK(if specified):
  • Xcode: 13.1
  • Java & Gradle: Gradle 4.2.2

Affected platforms

  • Android
  • iOS

while trying to load the ad

Did you mean trying to show ad

Yes! The ad does load but when I call show it just throws the error

In what timing are you trying to show ad?

I have button when I click it loads the ad if isLoaded is true else it calls the show

Can you try installing library from this branch and tell me if it fixes.

Hey @wjaykim it seems to be working perfect in that branch
image

Thanks ❤️