flutter_native_admob
flutter_native_admob copied to clipboard
Lag when the ad loads
When the application has finished loading the ad, the application experiences a lag before displaying it.
I'm using the code:
return Container(
child: NativeAdmob(
adUnitID: 'ca-app-pub-example/example',
loading: Center(child: CircularProgressIndicator()),
error: Text('Failed to load the ad'),
controller: _adController,
type: NativeAdmobType.full,
options: NativeAdmobOptions(
ratingColor: Colors.red,
),
),
);
Did I do something wrong?
Update:
- The platform is Android
Facing the same issue
Lag can be seen both in Android and iOS. @duyduong Is there any solution or reason for the lag?
Is it due to the fact that AndroidView and UiKitView does work in the UI thread to embed the view inside flutter widget tree?
Same issue. Especially when used in listview.builder
Same here listview..builder too.
Possible duplicate of https://github.com/duyduong/flutter_native_admob/issues/52