element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
Apache License 2.0
3.31k stars 696 forks source link

Use new install referrer API to configure homeserver url #762

Open bmarty opened 4 years ago

bmarty commented 4 years ago

Install referrer is used in Riot-Android to pre-fill homeserver (and identity server).

This is not done yet in RiotX, but it's a TODO in the code.

So we can use the new API in RiotX. That said, we have to think how this can be integrated in the new signin/signup flow.

Mail received from Google:

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.

Affected apps

im.vector.app im.vector.alpha The Play Install Referrer API offers better performance, uses a secure communication channel between your app and the Play Store, and offers a more robust solution against spoof and attribution fraud.

We know this change may require some additional work on your part and appreciate your understanding.

Thank you for being a part of Google Play.

dougluce commented 2 years ago

Is this issue still valid?

notramo commented 2 years ago

@bmarty Is it implemented yet?