how to extract params from received link in react native firebase dynamiclink 3f

Solutions on MaxInterview for how to extract params from received link in react native firebase dynamiclink 3f by the best coders in the world

showing results for - "how to extract params from received link in react native firebase dynamiclink 3f"
Nadia
08 Jan 2017
1I think you are confusing deep links with dynamic links. Dynamic links handle your deep links to content depending upon the platform.
2
3Example you have a deep link: https://example.com/offer?offerid=123456 . You wish to open it in your app depending upon the platform.
4
5Suppose you created a domain for dynamic link from console: https://myapp.page.link
6
7Now you can create a dynamic link which opens the deep linked content on your app. The dynamic link can take in only specific parameters as mentioned here. However you can pass your parameters to your deep link,
8
9https://myapp.page.link/?link=https%3A%2F%2Fexample.com%2Foffer%3Fofferid%3D123456&apn=com.example.app&ibi=com.example.app
10
11The above dynamic link opens the deep link in your android app with package name com.example.app and ios app with bundle ID com.example.app.