llfbandit / app_links

Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler for Flutter.
https://pub.dev/packages/app_links
Apache License 2.0
176 stars 68 forks source link

Support for Google Play deferred deeplinking? #11

Closed duzenko closed 2 years ago

duzenko commented 2 years ago

Do you support applinks passed through Google Play when installing the app? We're using Adjust DeepLinking platform to generate links, but don't receive the applink on first run after install. I think it's described in https://developer.android.com/google/play/installreferrer/library

llfbandit commented 2 years ago

I'm not sure to follow you on this. Install Referrer Library purpose is to get some details on installed app. As far as I can see, there's no relation with deep linking.

Do you need to retrieve installReferrer URL?

AppLink is managed by Android system. So Google Play or whatever is the source of the request, it should work.

duzenko commented 2 years ago

Did you ever get the referrer url to propagate to flutter via app_links interface? I tested it and it does not appear to work

duzenko commented 2 years ago

Do we need to add action="com.android.vending.INSTALL_REFERRER" receiver or something?

duzenko commented 2 years ago

This is what I get after I open the app from Play after installing it (from deep link) image And this is the output after invoking the applink once again manually image So the referrer url does not propagate

llfbandit commented 2 years ago

Sorry but Install Referrer Library is not part of the package, this is out of scope.