Search code examples
firebaseflutterdeep-linkingfirebase-dynamic-links

Firebase Deep Link with custom parameter at the end


I created a Firebase Deep Link for my Flutter app to open the app after the registration process was successful. The link looks like the following:

https://myLinkDomain.page.link/routeName/

During the registration process, a parameter must be appended to the end of the link, which I must read out in the app for successful completion. The problem is that if I append the parameter to the end of the link, I can no longer access it. The link in this case looked like this:

https://myLinkDomain.page.link/routeName/?myCustomParam=myValue

If the parameter is given in the middle of the link, I can use it in the app. Like this:

https://myLinkDomain.page.link/routeName/?myCustomParam=myValue&apn=someStuff&isi=someStuff&ibi=someStuff&ifl=someStuff

However, the registration process requires that the parameter be added to the end of the link.

Is there a way to build the Firebase Deep Link so that the parameter can be added at the end and still be recognised in the app?

Thanks for any help!


Solution

  • Never mind. The solution is to change the order of the url parameters: myLinkDomain.page.link/routeName/…