marcshilling / react-native-idle-timer

A cross-platform bridge that allows you to enable and disable the screen idle timer in your React Native app
MIT License
216 stars 42 forks source link

Always on iOS #20

Closed CaptainJeff closed 4 years ago

CaptainJeff commented 5 years ago

I'm having an issue with this library on iOS. I tested this with iphone X 12.3.1

When i include the library and link it the phone always stays on. Even without calling a function in this library.

Infact, the screen even remains on when I only call

IdleTimerManager.setIdleTimerDisabled(false);

Has anyone else experienced this?

marcshilling commented 5 years ago

Here's a few things to check first:

I'm guessing one of the above applies to you, but if not let me know and I can investigate further.