exitinfo 0.1.1 exitinfo: ^0.1.1 copied to clipboard
ApplicationExitInfo API describes the information of previous application process's death
exitinfo #
Wrapper for ApplicationExitInfo API
Getting Started #
This plugin is wrapper for ApplicationExitInfo Android API that was added in API level R. ApplicationExitInfo API describes the information of previous application process's death.
Plugin provided all information that can be retrieved from native android code.
IMPORTANT: Until Android R is officially published, this package can only be tested devices with installed beta version of Android R.
Usage #
Import
import 'package:exitinfo/exitinfo.dart';
Retrieving list of exit reasons
List<ExitInfo> exitInfoList = await ExitInfoApi.exitinfo;
Getters
exitInfoList.first.description;
exitInfoList.first.reason;
exitInfoList.first.timestamp;
exitInfoList.first.status;
exitInfoList.first.processname;
exitInfoList.first.packageId;
exitInfoList.first.importance;
exitInfoList.first.packageId;
Example app #
Features and bugs #
If you any problem using library or you have any new needs, please file feature requests and bugs at the issue tracker.