Closed HaroldChoung closed 6 months ago
same problem
Facing same problem
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.
some problem help me
Same issue, any solution?
Same issue here! No solutions yet? @invertase?
So I've already found a solution for this! It may not work for everyone, but this is what worked for me!
So in the android/app/build.gradle
file I was using the 23.3.0
version of the play-services-ads
. I tweaked that line to use the 22.1.0
version.
dependencies {
// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")
// Change the version in this line from whatever other version to 22.1.0
implementation ("com.google.android.gms:play-services-ads:23.3.0")
@Lu1815 It worked perfectly for me, thank you !
What happened?
import {BannerAd, BannerAdSize, TestIds} from 'react-native-google-mobile-ads'; => import still not showing error
<BannerAd unitId={TestIds.BANNER} sizes={[BannerAdSize.FULL_BANNER]} didFailToReceiveAdWithError={this.bannerError} requestOptions={{ requestNonPersonalizedAdsOnly: true, }} /> => After add this code, error exist
Platforms
Only on Android
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
android/build.gradle
android/app/build.gradle
android/settings.gradle
AndroidManifest.xml