This post says that adding an additional package through adb is not possible. You can write a simple test application and send the application invitation what you want:
Intent intent = new Intent("com.android.vending.INSTALL_REFERRER"); intent.setPackage("your_package"); Bundle bundle = new Bundle(); bundle.putString("com.android.vending.INSTALL_REFERRER", "your_invite_id"); bundle.putString("com.google.android.gms.appinvite.DEEP_LINK", "your_deep_link"); intent.putExtra("com.google.android.gms.appinvite.REFERRAL_BUNDLE", bundle); sendBroadcast(intent);
I tested the google app in this way, but before trying to send the intent via adb too.
Samik source share