-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ads not loading on React Native v0.19.0 for Android #3
Comments
The reason why there are no instructions how to add the AdMob library on Android is that it's not needed. The gradle will do that automatically. Can you give me more information? Are there any errors or is the banner simply not showing? Which rn version are you using?
|
@sbugert Oh, that's great to hear. Strangely enough, the interstitial works fine. The I'm on v0.19.0-rc of RN -- I'm guessing that might be the problem (I wanted to upgrade because I needed PickerAndroid). |
I tried different react-native versions and it still works on v0.18.0, but stops working on v0.19.0 (released yesterday). So I assume that something between the two versions broke it but I still have not figured out what exactly. |
@sbugert Thanks for the update. Wish I could be more help, but unfortunately it's a bit over my head. 😞 |
any update on this? switched to 0.19 and nothings working on (im on android too) |
@jacob-russo we are actively working on this lib and will fix the issue soon(-ish). However, we are currently in the middle of another project. We'll keep you updated. |
Could this be related to react-native/issues/5304 and react-native/issues/5655? I see the package referenced in this error:
Trying to figure out the issue here but I have little to no Java experience. Ads are the only thing holding up my Android launch, so I'm trying my best. Haha. |
Looks like it could be related. I haven't tried v0.20.0-rc yet, maybe there's a fix. I will try it tonight. |
@sbugert Just tested v0.20.0-rc. Same thing -- interstitials work, but banners do not. |
You need to update the imports to import |
@cosmith Thank you so much, that is it! @jacob-russo and @danleveille I will publish the working version later, good luck for your Android launch! |
I love rubber duck debugging <3 |
it seems cause by progurad in v0.19 in the debug mode it works,but release it shows the log "Could not find generated setter for class com.facebook.react.views.viewpager.ReactViewPagerManager ;Could xxx ..." |
Could be related to facebook/react-native#5818. |
DFPInterstitial support custom targeting
I have this successfully working in iOS, but I can't figure out how to get it working for Android.
Could the readme be updated to include how/where to install the Google AdMob Framework for Android?
I followed the Android instructions on the readme, but I think I'm missing the Google AdMob Framework.
I'm a newbie with React Native Android, so I'm a little lost.
The text was updated successfully, but these errors were encountered: