로딩중입니다
IGAW Google Installation Receiver : Android
6/5/2015 4:32:23 PM

Google Installation Receiver: Registration

If you wish to execute CPI or more effective advertisements through the adPOPcorn ad network, register the Google installation receiver.

Edit the Android Manifest file as follows:

(+ A receiver should be registered for channel tracking via the Adbrix tracking link. )

Add the IGAW Google Installation Receiver in-between the <application></application> tag as follows:

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




For Multiple Installation Receivers

If multiple third-party tools are in use, Google installation referrers should be transmitted to the respective third-party receivers.

In this case, we recommend to create the respective Receiver class. 

public class MultipleInstallReceiver extends BroadcastReceiver {
    @Override
    public void onReceiver(Context context, Intent intent) {
        //IGAW Google Install Receiver Regstration
        IgawReceiver igawReceiver = new IgawReceiver();
        igawReceiver.onReceive(context, intent);
        //add other receivers to receive INSTALL_REFERRER.
    }
}


In case of adding the respective class as above, Android Manifest Receive must be edited. 

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