When a user clicks on my Firebase Dynamic Link (with deep link) to launch my Android app, one of two things will happen:
- If the app is not installed, the user will be directed to Google Play to install the app, and then launch it with my deep link.
- If the app is installed, it will be launched with my deep link.
My app needs to know which one happened.
As far as I can tell, the Firebase API will not tell me if the app was installed as part of the FDL flow. Am I missing something?
P.S. Using a shared pref isn't good enough for my purposes since they are deleted when the user clears data and therefore don't perfectly represent installs. I'm looking for something like the INSTALL_REFERRER
broadcast event is fired by Google Play, but that works with Firebase Dynamic Links.