/flutter_exitinfo

Flutter Wrapper for ApplicationExitInfo API

Primary LanguageDartMIT LicenseMIT

exitinfo

Wrapper for ApplicationExitInfo API

Getting Started

This plugin is wrapper for ApplicationExitInfo Android API that was added in API level 30. ApplicationExitInfo API describes the information of previous application process's death.

Plugin provided all information that can be retrieved from native android code.

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

alt text

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.