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

Adds shake command #2259

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

Conversation

ivanacostarubio
Copy link

Proposed changes

It implements the shake command. It closes #1164

AI

copilot:summary

Testing

I was able to test this using my local iOS simulator. However, I'm unsure why it's not working on the Android emulator. I can see the shake happening when I use the terminal to run the adb commands.

Issues fixed

@Fishbowler Fishbowler added the v1.40.0 Release 1.40.0 label Feb 5, 2025
if (exitCode != 0) {
val errorStream = process.errorStream.bufferedReader().readText()
logger.error("Failed to execute shake gesture. Exit code: $exitCode, Error: $errorStream")
throw IOException("Failed to execute shake gesture on simulator. Exit code: $exitCode")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The catch block below will re-throw this with this message wrapped in the same message again:
"Failed to execute shake gesture on simulator: Failed to execute shake gesture on simulator. Exit code: $exitCode"

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

Successfully merging this pull request may close these issues.

Shake Simulation
3 participants