Class FlutterPlayStoreSplitApplication

  • All Implemented Interfaces:
    ComponentCallbacks, ComponentCallbacks2

    public class FlutterPlayStoreSplitApplication
    Flutter's extension of SplitCompatApplication that injects a PlayStoreDeferredComponentManager with FlutterInjector to enable Split AOT Flutter apps.

    To use this class, either have your custom application class extend FlutterPlayStoreSplitApplication or use it directly in the app's AndroidManifest.xml by adding the following line:

    This class is meant to be used with the Google Play store. Custom non-play store applications do not need to extend SplitCompatApplication and should inject a custom DeferredComponentManager implementation like so:
          new FlutterInjector.Builder().setDeferredComponentManager(yourCustomManager).build());
    • Constructor Detail

      • FlutterPlayStoreSplitApplication

        public FlutterPlayStoreSplitApplication()