duyduong / flutter_native_admob

Plugin to integrate native firebase admob to Flutter application
MIT License
62 stars 85 forks source link

"<Google:HTML> Not all asset views lie inside the native ad view" message #60

Open angel1st opened 4 years ago

angel1st commented 4 years ago

Hi there, Here is the way I call native admob:

...
                    Container(
                      height: 300,
                      child: NativeAdmob(
                        adUnitID: adMobRepository.nativeAdId,
                        loading: ProgressIndicatorWidget(),
                        type: NativeAdmobType.full,
                        //controller: _nativeAdController,
                      ),
                    ),
...

What I have just noticed - right after the ad is successfully loaded, I have this message received in the console:

I/Ads ( 9832): Received log message: Not all asset views lie inside the native ad view. This indicates an integration problem. Such implementations will not be supported in the future. Please make sure that all native ad assets are rendered inside the native ad view.

Please note, the app runs on an emulator but with real ad unit id code.

phungrk commented 4 years ago

@angel1st I think the container height is not enough for all ad asset views. You can increase the container height to check if still have log ?

angel1st commented 4 years ago

@phungrk - the message remains despite of container's height.

Hoost commented 3 years ago

The same message appears for me as well despite of the container's height(IOS Simulator).

` User interactions must be disabled on the asset view to enable click handling. userInteractionEnabled has been set to NO on <UIButton: 0x7fe7dfcb6820; frame = (0 0; 0 0); opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x600000413140>>.

User interactions must be disabled on the asset view to enable click handling. userInteractionEnabled has been set to NO on >.` ` Not all asset views lie inside the native ad view. This indicates an integration problem. Such implementations will not be supported in the future. Please make sure that all native ad assets are rendered inside the native ad view.` ![Simulator Screen Shot - iPhone 5s - 2020-10-24 at 12 21 28](https://user-images.githubusercontent.com/8544313/97078250-979fca80-15f3-11eb-95b9-0c6eec982cfb.png)
bounty1342 commented 3 years ago

If this help : https://github.com/sakebook/flutter_native_ads/commit/675bf466d87ba7e35ac25babc7921819ffeeeb10#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed