invertase / react-native-google-mobile-ads

React Native Google Mobile Ads enables you to monetize your app with AdMob.
https://docs.page/invertase/react-native-google-mobile-ads
Other
625 stars 121 forks source link

Banner ad loaded or not how can i check? #564

Closed cipherbrains closed 4 weeks ago

cipherbrains commented 2 months ago

What happened?

i have issue in google ad mob thats why i am not getting banner ads in app , but in future if i face same issue due to any reason then i dont want to show plain gray , so i want to know how can i get details about banner ad is loaded or not

Platforms

Android and iOS

React Native Info

System:
    OS: macOS 12.7.4
    CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
    Memory: 155.14 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.19.1 - /usr/local/bin/node
    Yarn: 1.22.21 - /usr/local/bin/yarn
    npm: 6.14.13 - /usr/local/bin/npm
    Watchman: 2024.01.22.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: Not Found
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2023.2 AI-232.10227.8.2321.11479570
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 17.0.10 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0 
    react-native: 0.71.3 => 0.71.3 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Are your using Typescript?

package.json

"react-native-google-mobile-ads": "^13.0.2",

app.json

{
  "name": "IPODekho",
  "displayName": "IPODekho",
  "plugins": ["@react-native-google-signin/google-signin"],
  "android": {
    "googleServicesFile": "./google-services.json"
  },
  "react-native-google-mobile-ads": {
    "android_app_id": "ca-app-pub-29147",
    "ios_app_id": "ca-app-pub-9374783734"
  }
}

ios/Podfile

No response

android/build.gradle

No response

android/app/build.gradle

No response

android/settings.gradle

No response

AndroidManifest.xml

No response

dezudas commented 2 months ago

+1

github-actions[bot] commented 1 month ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.