Skip to content

Feature request: set the idle-timer timeout value #38

@SimoneMSR

Description

@SimoneMSR

``I would like to use the library to set a specific timeout for the idle-timer. Would this be interesting?
This could be used also for turning the screen on and off.

I would like to do like this

import IdleTimerManager from 'react-native-idle-timer';

.....
function myHandler()[
  IdleTimerManager.setIdleTimeout(10*1000)
}


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions