AppMeasurementInstallReferrerReceiver

public final class AppMeasurementInstallReferrerReceiver extends BroadcastReceiver

A BroadcastReceiver for Firebase Analytics. Firebase Analytics requires this receiver to be correctly declared in AndroidManifest.xml and enabled:

<manifest>
   <application>
     <!-- ... -->

     <receiver
         android:name="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver"
         android:permission="android.permission.INSTALL_PACKAGES"
         android:enabled="true">
         <intent-filter>
             <action android:name="com.android.vending.INSTALL_REFERRER"/>
         </intent-filter>
     </receiver>

     <!-- ... -->
   </application>
 </manifest>
 

Public Constructor Summary

Public Method Summary

void
doStartService(Context context, Intent service)
void
onReceive(Context context, Intent intent)

Inherited Method Summary

Public Constructors

public AppMeasurementInstallReferrerReceiver ()

Public Methods

public void doStartService (Context context, Intent service)

public void onReceive (Context context, Intent intent)

Send feedback about...

Need help? Visit our support page.