I am currently implementing Google App Invites and I am wondering what is the best way to test fresh installations.
I can broadcast the INSTALL_REFERRER event with the corresponding deep link, for example:
adb shell am broadcast -a com.android.vending.INSTALL_REFERRER -n <your.package>/.<path.up.until.your.BroadcastReceiver> --es "referrer" "test_referrer=test"
But this will send a general broadcast with referral data. Is there currently a translation method a INSTALL_REFERRAL that also contains the relevant AppInviteReferral data?
Digging in the source reveals that there is com.google.android.gms.appinvite.REFERRAL_BUNDLE included as part of the intent, but I'm not sure how to build this as part of the broadcast.
edit I created a separate, more general question about the use of additional components when testing translations here
source share