android - INSTALL_REFERRER not received on production -


i'm not getting install referrer received on application installed play store. below androidmanifest.xml shows receiver inside <application> tag too.

  <receiver         android:name="com.usplnew.getreferrer.customreceiver"         android:exported="true" >         <intent-filter>             <action android:name="com.android.vending.install_referrer" />         </intent-filter>     </receiver> 

and below code receiver

public class customreceiver extends broadcastreceiver {     @override     public void onreceive(context context, intent intent) {         system.out.println("sgn received");         log.d("yes", "it works!!");         toast.maketext(context, "received intall referrer", toast.length_short)                 .show();     } } 

its working below command on emulator , device too

adb shell broadcast -a com.android.vending.install_referrer -n com.uspl.getrefferer/com.uspl.getrefferer.customreceiver --es "referrer" "https://play.google.com/store/apps/details?id=com.nextgen.water.run&referrer=iwantthisreferrer" 

i put same below code app production on google play. install referrer not received when application installed.

i highly appreciate if guide i'm wrong.

thanks in advance!

have checked implementation of own class of broadcastreceiver documentation - https://developers.google.com/analytics/devguides/collection/android/v1/devguide#campaigns ?


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -