Class – ReferralReceiver

Class

ReferralReceiver

DEPRECATED: As of 3.3.0, because Google has introduced a new way of retrieving the Install Referrer. You should also continue using this broadcast receiver until Google completes the transition.

 

public final class ReferralReceiver
extends android.content.BroadcastReceiver

Google Play Install Referrer Receiver.

Single Receiver

If the Kochava Tracker broadcast receiver is the only receiver for the action “com.android.vending.INSTALL_REFERRER” in your app no further action is required.

Multiple Receivers

For apps that contain other broadcast receivers for the action “com.android.vending.INSTALL_REFERRER” some manual steps are required.
First you must remove the default Kochava ReferralReceiver by adding the following within the application tags in your manifest.

 

Then create a forwarding Broadcast Receiver.

 

Finally add the forwarding receiver to your manifest. Adjust the android:name field to match the package and name of your broadcast receiver.


Nested Class Summary

Nested classes/interfaces inherited from class android.content.BroadcastReceiver
android.content.BroadcastReceiver.PendingResult


Constructor Detail

ReferralReceiver

public ReferralReceiver()
Deprecated


Method Detail

onReceive

public final void onReceive(@Nullable
android.content.Context context,
@Nullable
android.content.Intent intent)

Deprecated

Intent Received method. Typically this is called by the Android system.

If using a broadcast forwarder then this will be called manually in your Broadcast Receiver.

Specified by:
onReceive in class android.content.BroadcastReceiver

Parameters:
context – Context
intent – Intent containing install referrer data


See Also

Related Pages Getting Started Guide

The KochavaTracker Android SDK allows advertisers to integrate a single SDK to leverage the hundreds of ad network and publisher partners integrated with Kochava.

 
 

Last Modified: Nov 28, 2017 at 12:32 pm