@exodus/app-process-mobile
v3.10.0
Published
Abstraction to monitor a mobile application's foreground or background status. Allows to manage app behavior based on its visibility status
Readme
@exodus/app-process-mobile
Usage
To use with the exodus sdk:
import appProcess from '@exodus/app-process-mobile'
exodus.use(appProcess())
// ...
exodus.resolve()
// The module exposes api methods that can be used to await the app state:
await exodus.appProcess.awaitForeground()Alternatively attach the appProcessAtom and subscribe to changes.
