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

BroadcastReceiver.PendingResult
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)

发送以下问题的反馈:

此网页
需要帮助?请访问我们的支持页面