"<Google:HTML> Not all asset views lie inside the native ad view" message
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: Google:HTML 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.
@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 ?
@phungrk - the message remains despite of container's height.
The same message appears for me as well despite of the container's height(IOS Simulator).
<Google> 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>>. <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: 0x7fe7dfcb5ef0; baseClass = UIStackView; frame = (0 0; 0 0); userInteractionEnabled = NO; layer = <CATransformLayer: 0x60000041f620>>.
<Google> <Google:HTML> 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.

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