Skip to content

Instantly share code, notes, and snippets.

@NikCapko
Forked from zmdominguez/adb_deeplink.sh
Created November 30, 2023 13:03
Show Gist options
  • Save NikCapko/8b10d7ec334b210a9b56ed05e1d98db5 to your computer and use it in GitHub Desktop.
Save NikCapko/8b10d7ec334b210a9b56ed05e1d98db5 to your computer and use it in GitHub Desktop.

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-04:

  • Add instructions for explicit intents when sending the command

2023-09-21:

  • Filter out unauthorised devices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment