-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[flutter_dynamic_links] Query parameters passed are not fetching ? #1289
Comments
Thank you @JayM96. Why don't you do this?
|
@jherencia First i had try the same things as you send me except i was using "short" value instead of "unguessable". But, it didn't worked. It gives me the null data every time. After that someone suggest me to try with Uri.https() That's why i have used it. I am again send you the whole code with my dynamic link.
You can test this on your code with two plugins Share and Dynamic links |
I have no issues getting query parameters. Are you able to retrieve them when you create a manual dynamicLink in the Firebase console? (have not applied the patch from @jherencia though) |
Do you think the code I have written is okay ? I am getting only one data from pending dynamicdata.getinitialilink() which is www.https://jaym.page.link?groupinvite which is my dynamic link in firebase. |
Code looks ok apart from the fact that i would use a company URL in the link and not the pages.link url. But why dont you try creating a manual dynamicLink first and see if this works. Because if it does, then there is something wrong with your Link-Creation method. |
Okay I will try. |
If the manual one works, i will modify my very own URL to have link parameters and test it myself. Currently i am using REST style urls like http://company.com/invite/12345 ... you can easily grab the parts with: deepLink.pathSegments[0] --> "invite" |
Thanks @logemann for the instant reply. I'll try and let you know asap. |
@ahzmie Following is the stack overflow link where i have pasted the working solution with explanation from how you can implement this functionality from scratch to end. |
Thank you, I got it. |
I'm going to close this as the issue was resolved here. |
Currently, i am using following code to create dynamic link with the custom query parameter "username".
also, i am using following code to fetch dynamic link with the custom query parameter "username" while app opened via dynamic link.
But, i am not able to fetch data.
@kroikie @roughike @jherencia @zoechi @quetool Can anyone please suggest me how can i pass and fetch data using dynamic links.
Thanks.
The text was updated successfully, but these errors were encountered: