flutter_native_admob
flutter_native_admob copied to clipboard
Media view disappearing while scrolling
Somehow on both platform the native ad loads prooerly but one you start scrolling, the media view disapears completely. I seem to be experiencing this with production ads and not test ads, please find the screen shots attached
This screen shot the ad loaded but as you scroll up,the media view disappears
@duyduong , do you know what might be the possible problem, maybe I can create a pull request and fix it myself?
<Google> User interactions must be disabled on the asset view to enable click handling. userInteractionEnabled has been set to NO on <UIButton: 0x7ffa7a73f9f0; frame = (0 0; 0 0); opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x600001dbb300>>. <Google> User interactions must be disabled on the asset view to enable click handling. userInteractionEnabled has been set to NO on <flutter_native_admob.StackLayout: 0x7ffa7a75e590; baseClass = UIStackView; frame = (0 0; 0 0); userInteractionEnabled = NO; layer = <CATransformLayer: 0x600001db14a0>>. ( "<NSLayoutConstraint:0x600003e7df90 UILabel:0x7ffa7a73efc0'Ad'.height >= 15 (active)>", "<NSLayoutConstraint:0x600003e7d860 V:|-(1)-[UILabel:0x7ffa7a73efc0'Ad'] (active, names: '|':UIView:0x7ffa7ff54220 )>", "<NSLayoutConstraint:0x600003e7d8b0 UILabel:0x7ffa7a73efc0'Ad'.bottom == UIView:0x7ffa7ff54220.bottom - 1 (active)>", "<NSLayoutConstraint:0x600003e7d630 V:|-(0)-[UIView:0x7ffa7ff54220] (active, names: '|':flutter_native_admob.NativeAdView:0x7ffa7a71e980 )>", "<NSLayoutConstraint:0x600003e7cb90 UIView:0x7ffa7ff2fa80.bottom == flutter_native_admob.NativeAdView:0x7ffa7a71e980.bottom (active)>", "<NSLayoutConstraint:0x600003e7ce10 V:[UIView:0x7ffa7ff54220]-(5)-[UIView:0x7ffa7ff2fa80] (active)>", "<NSLayoutConstraint:0x600003e7a350 '_UITemporaryLayoutHeight' flutter_native_admob.NativeAdView:0x7ffa7a71e980.height == 0 (active)>" )
@XSiyabonga when u shared the same controller, it will share the media view also, so the very next admob view will append media view as child Use more controllers for different ads u want
@XSiyabonga when u shared the same controller, it will share the media view also, so the very next admob view will append media view as child Use more controllers for different ads u want
Im not sure I follow what you mean, so every NativeAdmob instance needs to implement its own controller? Thanks man, will try it out and update if the issue persists.