# @flighthq/lifecycle

Application foreground/background lifecycle state and resume/pause/back signals over a swappable web/native backend

## Install

```sh
npm install @flighthq/lifecycle
```

Import the supported application-facing API from `@flighthq/lifecycle`. The `@flighthq/lifecycle/contract` export is the wider package-to-package contract used to compose Flight itself.

This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.

- [Flight project](https://github.com/flighthq/flight)
- [Source for @flighthq/lifecycle@0.4.0](https://github.com/flighthq/flight/tree/cd6b6e71eb472b3a4249830a7743333f019fa7b7/packages/lifecycle)
- [License](https://github.com/flighthq/flight/blob/cd6b6e71eb472b3a4249830a7743333f019fa7b7/LICENSE.md)
