Skip to content

Conversation

@piotr-cz
Copy link

@piotr-cz piotr-cz commented Oct 24, 2024

Fixes #259

Usage:

native-run android --app <path> --target <id> --timeout 10000

Timeout is only effective for startActivity function.

Other ADB commands should not require timeouts longer than the default 5000

@piotr-cz
Copy link
Author

Do not merge yet, I have better idea

@piotr-cz piotr-cz changed the title Add ADB timeout passed to startActivity function feat: add ADB timeout passed to startActivity function Oct 25, 2024
@piotr-cz piotr-cz changed the title feat: add ADB timeout passed to startActivity function feat: add ADB timeout option passed to startActivity function Oct 25, 2024
@piotr-cz
Copy link
Author

I think that adding new cli option is too much to fix the issue.

For example - to use native-run with npx capacitor run --live-reload, timeout option would have to be added also there.

Let's try with #393 and see if it's enough.

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.

Customize ADB commands timeout

1 participant