-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Android deep link #1906
Comments
Same here |
any updates? |
Any updates on this? Is it possible/has someone done Android deep linking following the flutter docs and using getmaterialapp / get navigation? or even using the uni_links package? @jonataslaw I know you're busy with getx 5, do you have any reccomendations? |
@hanumanjiblog @alejandrogiubel @diego-lipinski-de-castro were any of you able to figure out? and willing to share |
I have the following situation happening here: I followed the deeplink settings for Android and iOs that are described here (except the GoRouter part because I'm using Get): https://docs.flutter.dev/cookbook/navigation/set-up-app-links The following code works: return GetMaterialApp( In this case, the links must be in the format: www.example.com/report?id=1234 But I need the app to open links in the format www.example.com/report/1234 GetPage( But then I'm getting the error above: The following _TypeError was thrown building _FocusInheritedScope: The relevant error-causing widget was: The following assertion was thrown building _FocusInheritedScope: The offending GlobalKey was: [LabeledGlobalKey#23677 Key Created by default] Am i doing something wrong? Is there a way to open links in www.example.com/report/1234 format? |
I don't know if i can help with something but i edited the code in the file parse_route.dart to print some stuffs:
The Web output:
The Android output:
It only works on web |
@wantroba. I am also getting the exact same issue. Have you found any workaround yet? |
The only way that worked for me was to use the links in the format www.example.com/page?id=1234. |
Thanks. This workaround gives a good go for me. |
What if the link cannot be changed? Are there some other ways to make it work? |
With Getx current version(4.6.6) path variable is not going to work. You have to wait for an update of Getx(Probably 5.0.0). Or you can use other routing system(like goRoute) if you wish to not using getx's named route. |
When i am using Getx and uni_links I am getting an Error on LabledGlobelKey. Need Help. Thanks in advance |
I've submitted a PR (#3067) that aims to address the problem you've encountered. |
have someone resloved this issue When i am using Getx I am getting an Error on LabledGlobelKey. Need Help. Thanks in advance i can't used any package just like uni_link because getx handle it byself |
@xelent-nabeel Probably you already fixed issue, but for others I resolved this with changing initialRoute path from '/home' to just '/' and now it's working. |
Of user click a link then app will open and open particular page using get navigator, how is this possible with get navigator.
deep linking on Android
The text was updated successfully, but these errors were encountered: