NOTE: This gist is not being maintained anymore in favour of the more flexible, more reusable version.
This script allows running an adb
command (deeplinks, specifically) dynamically - i.e. ask for which device to send a command to if there are multiple devices found. Companion blog post for usage is ๐ here.
A more flexibile version of this script (that makes it easily reusable for multiple ADB commands) is here.
2023-09-21:
- Filter out unauthorised devices
2023-09-04:
- Add instructions for explicit intents when sending the command
I use fzf to select devices, which can adapt to all adb commands. The code is very simple.