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

feat: add ADB timeout option passed to startActivity function #392

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

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