Loads application information given a Context.
Definition at line 18 of file ApplicationInfoLoader.java.
◆ load()
Initialize our Flutter config values by obtaining them from the manifest XML file, falling back to default values.
Definition at line 147 of file ApplicationInfoLoader.java.
147 {
148 ApplicationInfo appInfo = getApplicationInfo(applicationContext);
149 return new FlutterApplicationInfo(
154 getNetworkPolicy(appInfo, applicationContext),
155 appInfo.nativeLibraryDir,
157 }
static final String PUBLIC_AUTOMATICALLY_REGISTER_PLUGINS_METADATA_KEY
static final String PUBLIC_AOT_SHARED_LIBRARY_NAME
static final String PUBLIC_VM_SNAPSHOT_DATA_KEY
static final String PUBLIC_FLUTTER_ASSETS_DIR_KEY
static final String PUBLIC_ISOLATE_SNAPSHOT_DATA_KEY
◆ NETWORK_POLICY_METADATA_KEY
final String io.flutter.embedding.engine.loader.ApplicationInfoLoader.NETWORK_POLICY_METADATA_KEY = "io.flutter.network-policy" |
|
static |
◆ PUBLIC_AOT_SHARED_LIBRARY_NAME
final String io.flutter.embedding.engine.loader.ApplicationInfoLoader.PUBLIC_AOT_SHARED_LIBRARY_NAME |
|
static |
Initial value:=
FlutterLoader.class.getName() + '.' + FlutterLoader.AOT_SHARED_LIBRARY_NAME
Definition at line 20 of file ApplicationInfoLoader.java.
◆ PUBLIC_AUTOMATICALLY_REGISTER_PLUGINS_METADATA_KEY
final String io.flutter.embedding.engine.loader.ApplicationInfoLoader.PUBLIC_AUTOMATICALLY_REGISTER_PLUGINS_METADATA_KEY |
|
static |
◆ PUBLIC_FLUTTER_ASSETS_DIR_KEY
final String io.flutter.embedding.engine.loader.ApplicationInfoLoader.PUBLIC_FLUTTER_ASSETS_DIR_KEY |
|
static |
Initial value:=
FlutterLoader.class.getName() + '.' + FlutterLoader.FLUTTER_ASSETS_DIR_KEY
Definition at line 26 of file ApplicationInfoLoader.java.
◆ PUBLIC_ISOLATE_SNAPSHOT_DATA_KEY
final String io.flutter.embedding.engine.loader.ApplicationInfoLoader.PUBLIC_ISOLATE_SNAPSHOT_DATA_KEY |
|
static |
Initial value:=
FlutterLoader.class.getName() + '.' + FlutterLoader.ISOLATE_SNAPSHOT_DATA_KEY
Definition at line 24 of file ApplicationInfoLoader.java.
◆ PUBLIC_VM_SNAPSHOT_DATA_KEY
final String io.flutter.embedding.engine.loader.ApplicationInfoLoader.PUBLIC_VM_SNAPSHOT_DATA_KEY |
|
static |
Initial value:=
FlutterLoader.class.getName() + '.' + FlutterLoader.VM_SNAPSHOT_DATA_KEY
Definition at line 22 of file ApplicationInfoLoader.java.
The documentation for this class was generated from the following file: