InstallReceiver
Tracks Google Play Store install referrals. The receiver needs to be added to the manifest before the install referrals will be tracked:
`<receiver android:name="com.urbanairship.analytics.InstallReceiver" exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>Content copied to clipboard
Only a single receiver is able to handle the "com.android.vending.INSTALL_REFERRER" action. To handle multiple receivers, instead of registering the InstallReceiver, register a custom receiver that notifies multiple receivers:
`// Notify the Airship InstallReceiver
new InstallReceiver().onReceive(context, intent);
// Notify other receivers
new OtherReceiver().onReceive(context, intent);Content copied to clipboard