googleads-mobile-android-native-templates
googleads-mobile-android-native-templates copied to clipboard
Added Github issue template to direct users to Admob support.
Thanks for providing the native ad template. It would be great if you could provide a full-screen native ad template. [Full-screen native ads](https://developers.google.com/admob/android/native/full-screen)
Fix for build time issue for native templates project.
when i can import the native add module in latest version of android studio it can't be import and gives this error 'namespace not found'
Currently it's available only in layout XML file... https://developers.google.com/admob/android/native/templates ``` ... ```
Crash
Caused by: android.view.InflateException: Binary XML file line #81: Attempt to invoke virtual method 'void android.widget.RatingBar.setEnabled(boolean)' on a null object reference Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RatingBar.setEnabled(boolean)'...
In the new components there is no necessary code, like getStore () getAdvertiser () among other errors in TemplateView.java (from this project)
After upgrading to 20.0.0 I bumped into a memory leak after loading ads with the templates. Just sharing my findings for anyone else bumping into it. I'm using https://github.com/googleads/googleads-mobile-android-native-templates/pull/17 since...
https://developers.google.com/android/reference/com/google/android/gms/ads/formats/UnifiedNativeAd I'm on latest Ads SDK: **com.google.android.gms:play-services-ads:19.7.0** UnifiedNativeAd marked as deprecated and it's suggesting replacing with NativeAds (https://developers.google.com/android/reference/com/google/android/gms/ads/nativead/NativeAd), but this library is still using UnifiedNativeAd