getContinueRunningAfterAppKilled static method

Future<bool> getContinueRunningAfterAppKilled()

Gets whether the foreground service should continue running after the app is killed, for instance when it's swiped off of the recent apps list. Default behavior is true, i.e keeping the service running after the app is killed.

Only works with v2 Android embedding (Flutter 1.12.x+).

Implementation

static Future<bool> getContinueRunningAfterAppKilled() async =>
    await _invokeMainChannel("getContinueRunningAfterAppKilled");