<manifest ...
  <application
     android:name="io.flutter.embedding.android.FlutterPlayStoreSplitApplication"
        ...
  </application>
</manifest>
    

    io.flutter.app.FlutterPlayStoreSplitApplication handles
both of these tasks for you. If you use
FlutterPlayStoreSplitApplication,
you can skip to step 1.3.

    If your Android application
is large or complex, you might want to separately support
SplitCompat and provide the
PlayStoreDynamicFeatureManager manually.

    To support SplitCompat, there are three methods
(as detailed in the Android docs), any of which are valid:

    

        Make your application class extend
    SplitCompatApplication:
        
public class MyApplication extends SplitCompatApplication {
    ...
}
        
      


        Call SplitCompat.install(this);
    in the attachBaseContext() method: