Questions tagged [react-native-google-mobile-ads]

23 questions
4
votes
1 answer

"RNGoogleMobileAdsBannerView" was not found

I have the next error: ERROR Invariant Violation: requireNativeComponent: "RNGoogleMobileAdsBannerView" was not found.. This error is located at: in RNGoogleMobileAdsBannerView (created by BaseAd) in BaseAd (created by BannerAd) in BannerAd…
3
votes
1 answer

Type mismatch: inferred type is RewardItem? but RewardItem was expected

e: /node_modules/react-native-google-mobile-ads/android/src/main/java/io/invertase/googlemobileads/ReactNativeGoogleMobileAdsAdHelper.kt: (76, 33): Type mismatch: inferred type is RewardItem? but RewardItem was expected someone know how fix this…
3
votes
0 answers

App open ads show after a permission or share dialogue opens

There is an issue with the open app ads. when ever there is permission dialogue likelocation, contact for storage dialogueopen by operating system or even an alert like Alert.alert() the app open ads appear. this is not the appropriate behaviour…
2
votes
1 answer

react-native-google-mobile-ads age limitation

I've built an app using react-native and i'm using: react-native-google-mobile-ads and im trying to show ads that are only familey friendly. how can i do this in react native? import { View } from "react-native"; import { BannerAd, …
1
vote
0 answers

Slow loading React Native Ad Mob Banner ads

I am displaying banner ads using react native google mobile ads: https://github.com/invertase/react-native-google-mobile-ads. When I display banner ads, the ad takes about 5 seconds before it displays on the screen. Is there anything i can do to…
1
vote
0 answers

react-native-google-mobile-ads dont work with mediation, Meta, AdColony And Unity Ads

I'm facing several issues when trying to mediate with Meta Audience Network, Adcolony and Unity Ads. On Faebook with bidding it gives the error of 'No Ad Config' In Unity Ads and Adcolony with waterfall gives the error: Adcolony SDK requires an…
1
vote
0 answers

How to Add google mob in React Native

I want to Add GoogleAdMob in My react-native-app(android). I heard that the expo-admob will bo no longer supported. So I want to use react-native-google-mobil-ads (https://docs.page/invertase/react-native-google-mobile-ads) But Nothing executed and…
Umgee
  • 143
  • 1
  • 1
  • 7
1
vote
1 answer

react-native-google-mobile-ads + expo + web

I'm using expo + web. For the mobile ads I wantnd to use react-native-google-mobile-ads + conditional loading based on platform. if (Platform.OS !== 'web') { FFirstResultAdComponent =…
0
votes
0 answers

Google Ads Mob not shown up in preview and production apk's for Expo

If the ads not showing in the preview and production apk's but showing in the development build for the expo. Then most probably your Google Ads Mob account is not approved. Please click on the below link to watch a video that How can we easily…
0
votes
0 answers

Force a re-render of React Native Google Mobile Ads Banner component. (react-native-google-mobile-ads)

I am using react-native-google-mobile-ads in a @shopify/flash-list list, and it functions as expected except the nature of flash-list is recycling the ad banner component over and over again as it's supposed to. The ad never changes. The React…
0
votes
0 answers

react-native-google-mobile-ads not working with live key ios

I am using the same code my app is in production and the ads working fine till last week but now all of a sudden it stopped working I did not change anything there is no error when I run the app in development and also ad console is working fine.…
0
votes
1 answer

What version of Expo should I use to integrate react-native-google-mobile-ads?

What is the recommended version of the expo to integrate react-native-google-mobile-ads? I have tried integrating the react-native-google-mobile-ads with Expo v48. But unfortunately, I got an error. **Error:** "Invariant Violation:…
Devendra
  • 117
  • 2
  • 12
0
votes
1 answer

How can I resolve the "Invariant Violation: requireNativeComponent: 'RNGoogleMobileAdsBannerView' was not found in the UIManager" error?

I got this error while integrating "React Native Google Mobile Ads". I follow the installation and setup steps but cannot find the solution. I'm using Expo, "dependencies": { ..., "expo": "~48.0.15", "expo-dev-client": "~2.2.1", …
Devendra
  • 117
  • 2
  • 12
0
votes
0 answers

EAS Build Fail because of react-native-google-mobile-ads on Android but works on IOS

I'm building my App using "npx eas-cli build --profile development" but it keeps on failing at gradle with the error below, It builds successfully on IOS without any Issue. At first I thought the issue was with my project but when I remove…
0
votes
0 answers

Use react-native-google-mobile-ads with expo go?

I've read that in order to use "react-native-google-mobile-ads" with expo one must use it in a dev-client. But I was wondering if there is anyway to set it up so I can simply use it with expo go since I think it would be way more simple for…
1
2