title: INSTALL_REFERRER not calling when download from play-store
body: <p><code>BroadcastReceiver</code> not getting called after downloading app. from play-store.</p>
  
  <p>However it's being called when I test from <strong><code>adb.</code></strong></p>
  
  <pre><code>am broadcast -a com.android.vending.INSTALL_REFERRER -n my.package/my.package.InstallReferrerReceiver --es "referrer" "utm_source=test_source&amp;utm_medium=test_medium&amp;utm_term=test_term&amp;utm_content=test_content&amp;utm_campaign=test_name"
  </code></pre>
  
  <p>It's working very well using <strong><code>adb.</code></strong> But when downloaded from play-store, it's not calling.</p>
  
  <p><strong>AndroidManifest.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      package="my.package"&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
      &lt;uses-permission android:name="android.permission.RECORD_AUDIO" /&gt;
      &lt;uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
  
      &lt;application
          android:name="my.package.MyApplication"
          android:allowBackup="false"
          android:fullBackupContent="false"
          android:icon="@mipmap/logo"
          android:label="@string/app_name"
          android:supportsRtl="false"
          android:theme="@style/Theme.DesignDemo"
          android:usesCleartextTraffic="true"
          tools:replace="allowBackup, supportsRtl, label"&gt;
  
          &lt;receiver
              android:name="my.package.InstallReferrerReceiver"
              android:enabled="true"
              android:exported="true"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.android.vending.INSTALL_REFERRER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
          &lt;service android:name="my.package.firebase.MyFirebaseMessagingServices"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.google.firebase.MESSAGING_EVENT" /&gt;
              &lt;/intent-filter&gt;
          &lt;/service&gt;
  
          &lt;activity
              android:name="my.package.SplashActivity"
              android:screenOrientation="portrait"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.VIEW" /&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>InstallReferrerReceiver.java</strong></p>
  
  <pre><code>public class InstallReferrerReceiver extends BroadcastReceiver {
      @Override
      public void onReceive(Context context, Intent intent) {
          String referrer = intent.getStringExtra("referrer");
          if (!TextUtils.isEmpty(referrer)) {
              Logs.showLogE("onReceive, referrer = " + referrer);
          } else {
              Logs.showLogE("onReceive, referrer = null");
          }
          SharedPreffHelper.getInstance(context).saveReferralPreff(referrer);
  
          // Pass along to google
          AnalyticsReceiver receiver = new AnalyticsReceiver();
          receiver.onReceive(context, intent);
      }
  }
  </code></pre>