Where to report bug in API?

There is a bug in the KeepAwake API I think - https://docs.expo.io/versions/latest/sdk/keep-awake/

On hover of the hook, it says as long as the component is mounted, it will keep the device awake. This infers that we should not call useKeepAwake() if we don’t want to keep awake. But we are not supposed to conditionally render hooks.

Is this a bug? Where should I report it?


Hey @themasjidapp,

If you’re able to create a reproducible example of the bug, please create an issue here!


Thanks Adam, I can’t reproduce anything. It’s just my understanding of hooks. Am I incorrect there? Thanks for your reply!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.