IGPenguin / mobile-toolkit

πŸ“± Terminal tool for Android & iOS device management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ainstall - installation failed shows "success output"

IGPenguin opened this issue Β· comments

🐞 Whats wrong

In case that .apk installation fails, some devices return exit code 0, as If everything went all right.
This causes confusion, since "success message" is displayed, but the app is not installed/updated.
failure - exit code 0

🌈 Desired state

Handle installation failed scenario properly.

πŸ“ Challenges

Exit code cannot be used for deciding whether installation failed or not.
Looks like I need to use standard terminal output instead.