InstalledAppLauncher class
Opens an already-installed debug build and finds its Dart VM service, with no rebuild and no flutter_tools.
Constructors
- InstalledAppLauncher({String adbPath = 'adb'})
-
const
Properties
Methods
-
bringToFront(
String udid, String appId) → Future< void> -
Brings the running
appIdon simulatorudidto the front; simctl reactivates the same process instead of starting another. -
isSimulator(
String udid) → Future< bool> -
Whether
udidis a simulator on this Mac, as opposed to a physical device. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
{required DevicePlatform platform, required String deviceId, required String appId, Duration timeout = const Duration(seconds: 30), Duration progressEvery = const Duration(seconds: 15), void onProgress(int elapsedSec, String? phase)?}) → Future< Uri> -
Reopens
appIdfresh ondeviceIdand returns the VM service URI it logged; on Android its port is the device's, forflutter attachto forward. -
runningPid(
{required DevicePlatform platform, required String deviceId, required String appId}) → Future< int?> -
The pid of
appIdondeviceIdwhen it runs, null when closed; throws when it is not installed. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited