android - How to test Google App Invites -


i'm implementing google's app invites , i'm wondering best way test fresh installs.

i can broadcast install_referrer event appropriate deep link so:

adb shell broadcast -a com.android.vending.install_referrer -n <your.package>/.<path.up.until.your.broadcastreceiver> --es "referrer" "test_referrer=test"

but send generic broadcast out referral data. there way broadcast install_referral contains appropriate appinvitereferral data?

digging source reveals there com.google.android.gms.appinvite.referral_bundle included part of intent, i'm unsure how construct part of broadcast.

edit have created separate, more general question regarding use of bundle extras when testing broadcasts here

i use demo app found here starting point. can grab code there , test other devices have app installed. note: app has have been published play store


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -