Closed lotusprey closed 2 years ago
Thanks for the report! I was tired with inconsistencies between Android & iOS. This should be fixed in v3.0.0
Hi, was this issue resolved in v3.0.0? I tried using that version and I'm still getting this error. Thanks!
Using version 3.5.0 and also seeing this. Android works in cold start normally. We are calling getInitialLink in widgets initState.
@evanwherchek have you been able to get it working?
Problem
While working with the iOS emulator (I don't have a real iOS device, unfortunately), I noticed that
onAppLink
isn't triggered the first time a deep link is used, but only from the second time onward. Note that in the given example, this behaviour is noticeable only if the app is already running, when the first deep link is used. The issue appears in version 2.2.1 of the package and persists in version 2.2.2. Things are fine in version 2.2.0 though.Example
pubspec.yaml
app_links: ^2.2.2
Info.plist
main.dart
terminal command:
xcrun simctl openurl booted app://example
The problem isn't only appearing with the command - opening the deep link through the browser has the same behaviour for example.