Action Required Switch to the Play Referrer API by March 1, 2020

怎甘沉沦 提交于 2019-12-21 19:55:48

问题


I got the email from Google as follows: -

Hello Google Play Developer,

We recently announced that we’ll be deprecating the install_referrer intent broadcast mechanism. Because one or more of your apps uses this intent to track referrals, we wanted to ensure you make the switch before March 1, 2020. After this date, new versions of the Play Store app will no longer broadcast the install_referrer intent after app installs.

Action required

Migrate to the Play Install Referrer API to track your app installs for the following apps and/or games.

But in my application I am not using it any where. What could be the possible reason for this warning?


回答1:


I checked with Firebase support for this, as I can see firebase libraries are using install_referrer. Got below response from them:

This is a great catch. Thanks for bringing this to our attention. I'm currently in discussion with our Analytics experts and will get back within 48 hours, or as soon as I have more information. For now, no need for any action from your end, wait for the next update from the Firebase team.

I think we should wait for the next update for firebase libraries, they might fix it. We have the deadline of March 1st, 2020. I think it is enough for the firebase team to update the libraries.

If you have used this API in your code by yourself, then you need to change it immediately as you are not depending on firebase or any other third party library provider.




回答2:


com.google.firebase:firebase-core and com.google.firebase:firebase-analytics using this broadcast intent internally. You can check it by merged manifest in android manifest file. This receiver is using install-referrer intent.

com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver

Either We can directly remove this explicitly by adding below line in android manifest.xml file but it will lead to disrupt the install referrer mechanism in case if your app is using conversion tracking or any other install campaign or we should wait for the next update of firebase libraries.

  <receiver android:name="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver"
            tools:remove="android:permission" >
            <intent-filter>
                <action
                    android:name="com.android.vending.INSTALL_REFERRER"
                    tools:node="remove" />
            </intent-filter>
        </receiver>


来源:https://stackoverflow.com/questions/59279563/action-required-switch-to-the-play-referrer-api-by-march-1-2020

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!