sakebook / flutter_native_ads

Show AdMob Native Ads use PlatformView
https://pub.dev/packages/native_ads
Apache License 2.0
66 stars 32 forks source link

Layout is not visible on Release build #48

Closed ghost closed 4 years ago

ghost commented 4 years ago

Shows container instead of layout,but debugging one is showing well. Created my own layouts and also tested your Example code,but nothing is showing in release mode

sakebook commented 4 years ago

Please show me flutter log. And does this happen which on Android or iOS?

ghost commented 4 years ago

@sakebook It does not logs anything,and Ive never tried on Ios,it happens only on Android. Debugging is working superb,the release build the widget is simply white

wilssola commented 4 years ago

I'm also having the same problem, it was working normally in the debug and release, but now the widget only renders a blank space

ale-getman commented 4 years ago

Same problem

matthewrice345 commented 4 years ago

I added the following to my proguard-rules.pro and Ads show up in release.

-keep public class com.google.firebase.analytics.FirebaseAnalytics {
    public *;
}
-keep public class com.google.android.gms.measurement.AppMeasurement {
    public *;
}