Reputation: 524
How can we get data for the below situations:
1) Click on deep linking url.
2) That app is not installed in a device. So, It redirects to the play store.
3) Then we install app from the play store.
4) We want data when we open the application that is installed from the play store.
How can we get data in application when it comes from play store?
Upvotes: 3
Views: 1454
Reputation: 2332
you can use firebase dynamic URLs here is the link
it will give you everything that you needed.
Here is the code snippet:
Below this how it works.
Here's the example of the link after filling in the parameters.
you can also shorten the link directly at Firebase console.
Inside Activity, you can call AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, this, false) to retrieve link information.
More information can be found here https://firebase.google.com/docs/dynamic-links/
Upvotes: 2