Skip to content

Lock after inactivity #10

@tomalabaster

Description

@tomalabaster

Is your feature request related to a problem? Please describe.
It would be a useful feature to lock the screen after X amount of time of inactivity.

Describe the solution you'd like
Something akin to setting inactivityLockLatency on AppLock

Describe alternatives you've considered
Requiring users of this package to manually measure inactivity and make calls to AppLock.of(context).showLockScreen()

Additional context
Requested as part of #7.

Methods of measuring activity that need to be considered:

  • Screen interactions
  • Keyboard interactions
  • Media interactions (e.g. videos being played, camera being used)
  • Semantic navigation (e.g. tabbing between focusable components)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions