useHybridComposition property

bool useHybridComposition
getter/setter pair

Check if hybrid composition is enabled on android. It's enabled by default if the android version is 19 and on iOS. Do NOT set it before MobileAds.initialize(). Note that on Android versions prior to Android 10 Hybrid Composition has some performance drawbacks.

Hybrid composition is enabled in iOS and can NOT be disabled

Basic usage:

MobileAds.initialize(
  useHybridComposition: true,
)

For more info on hybrid composition, read the documentation

Implementation

static bool useHybridComposition = false;