Do I get INSTALL_REFERRER intent from amazon app store? Do I get INSTALL_REFERRER intent from amazon app store? android android

Do I get INSTALL_REFERRER intent from amazon app store?


I had the same question, I ask by mail to a Amazon, this was his feedback:

Unfortunately we do not have this functionality available for developers.

enter image description here

I insist but they said me the same, there is no way.

So there is no method to get amazon referrer, pretty awfull...

You cannot identify a unique referrer, just have a bunch of Amazon apps installation events by a constant on your code.


In your Manifest file should be have

 <receiver android:name="com.test.Receiver" android:exported="true">   <intent-filter>       <action android:name="com.android.vending.INSTALL_REFERRER" />   </intent-filter></receiver>

and create the class for receiver like this

public class Receiver extends BroadcastReceiver {@Overridepublic void onReceive(Context context, Intent intent) {    Bundle extras = intent.getExtras();    String referrerString = extras.getString("referrer");    Log.w("test", "Referrer is: " + referrerString);}}

Make sure this will help you