-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Needs AttentionThis issue needs maintainer attention.This issue needs maintainer attention.resolution: duplicateThis issue or pull request already existsThis issue or pull request already existstype: bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the bug
When the application is launched from a dynamic link on iOS the getInitialLink() method always returns null. Shortly after, the onLink callback is executed.
Steps to reproduce
Steps to reproduce the behavior:
- Set up & configure app following instructions: https://pub.dev/packages/firebase_dynamic_links
- Launch iOS app from dynamic link.
- Notice that the getInitialLink() returns null but onLink is called shortly after.
Expected behavior
getInitialLink() returns deeplink when app is launched from a terminated state on iOS.
Additional context
Adding a one second delay before calling getInitialLink() fixes the issue.
Flutter doctor
Run flutter doctor
and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE
Flutter dependencies
Run flutter pub deps -- --style=compact
and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE
Metadata
Metadata
Assignees
Labels
Needs AttentionThis issue needs maintainer attention.This issue needs maintainer attention.resolution: duplicateThis issue or pull request already existsThis issue or pull request already existstype: bugSomething isn't workingSomething isn't working