Closed mkbsugita closed 9 months ago
yep, indeed.
Even worse:
Need to move away initialLink & latestLink to dart code. A thing to note here, we can't listen to hot restarts because the app is destroyed and re-created.
I digged into the code tonight and there's nothing I can do for this. Plugins are not aware of hot reloads or restarts and I must keep initial link on native side to ensure that it will not be skipped at launch from cold state.
Notice that this is not a specific issue on iOS platform, the same happens on Android too. Anyway, this can occur only on debug sessions.
I also have the same issue. Is there any fix? Not only the debug mode I faced in release mode. Above comment, @llfbandit mentioned a solution but it is not working anymore.
Need to move away initialLink & latestLink to dart code. let me know if any other fixes.
can you provide a reset option to reset the URI? it will be helpful.
I am also getting the same issue still. Is there any fix or workaround for this bug? The app never stops executing getInitialAppLink() when doing hot restarts.
Hello all,
I am having the same issue but not only with hot restarts. My issue is that I navigate through the app and then I navigate back to the statefull widget that does the call. Then the getInitialAppLinkis excecuted again and I end up navigating to the same loop.
Describe the bug
A clear and concise description of what the bug is.
when I did hot reload it calls deep link again!!!
Does it related to
[ ] App Links (Android)
[ ] Deep Links (Android)
[o] Universal Links (iOS)
[ ] or Custom URL schemes? (iOS)
Does the example project work?
[o] Yes
[ ] No
[ ] Irrelevant here
Did you fully read the instructions for the targeted platform before submitting this issue?
Uploaded your files to webserver, HTTPS, direct connection, scheme pattern setup, ...
[ ] Yes
[o] No
[ ] Irrelevant here