Closed naivetoby closed 2 months ago
Thanks for the feedback. To be sure, you didn't change anything in the example project? According to your log, it feels like Flutter deep linking is enabled. The example calls the route with fragment only (/book/hello-world) while the last entry shows full path (/#/book/hello-world, just a guess).
This package only provides a bridge to retrieve URIs from native side. While navigation may be a target for apps, what is done with the URI is out of the scope of this package.
Thank you for your prompt reply.
To clarify, I didn't make any changes to the example project other than adding a single line of logging code:
debugPrint('routeName: $routeName');
Additionally, I updated Flutter to the latest Beta version. The issue I observed occurred right after the upgrade, with no other modifications to the codebase.
Given that this package primarily bridges URIs from the native side, I understand that navigation handling is outside its scope. However, the observed behavior seems to be linked to the way Flutter Beta is processing deep links, possibly due to changes in how it handles fragments in URIs.
You might want to try updating to the latest Flutter Beta and see if you can replicate the issue on your end. It could help determine if there's an unintended interaction between Flutter Beta and how the package retrieves URIs.
Thanks again for your assistance.
I'll pay attention to check this for next Flutter release. Anyway from the log, the link is handled only once from the package (Flutter shouldn't be involved here). So I'm pretty confident.
I'm leaving this issue opened as a note.
Description
I've encountered a potential issue while running a project demo using the
app_links
plugin on an iPhone simulator. The problem seems to be related to how Flutter Beta handles link events, leading to duplicate triggers.Steps to Reproduce
Modify the code to add logging:
Run the following command:
Expected Behavior
Actual Behavior
The logs display the following:
It appears that Flutter Beta may have changed the way it listens to links, resulting in the route being triggered multiple times. This issue was observed on both iOS (simulator) and Android devices.
Environment
Additional Information
I am unsure if this is the appropriate place to report this issue, but I have noticed similar behavior on Android as well. Any guidance or fixes would be appreciated.