Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note regarding devtools preventing sleep #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emcniece
Copy link

A debugging session today lead me to discover that binding inspection devtools to the app will prevent this plugin and the native device from sleeping.

The plugin works as expected and native devices sleep when devtools are not active.

This PR adds a note to README clarifying this behaviour:

Note that while developing apps using this plugin, the native device will stay awake while debug tools are attached. For Android this includes Android Studio and the Remote Debugging tools via Chrome. For iOS this includes XCode runtime console and Safari Devtools.

When testing apps on native devices, detatch any developer tools to ensure the plugin works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant