Skip to content

[firebase_dynamic_links] Not working on app start #100

@MaciDE

Description

@MaciDE

Describe the bug
When opening an iOS App from a dynamic link the initialLink is nil.

To Reproduce
Steps to reproduce the behavior:

  1. Set up firebase dynamic links for a project as described in the readme.
  2. Create a dynamic link (programmatically or via console)
  3. Tap on link in non-browser app

Expected behavior
App should open and getInitialLink() should return the correct dynamic link.

Additional context
From my understanding there is an issue when reacting to the incoming UserActivity. onInitialLink is correctly called but returns way earlier than self.initialLink is set in the completion block from [[FIRDynamicLinks dynamicLinks]handleUniversalLink: completion: ] . Therefore on handling the method call FirebaseDynamicLinks#getInitialLink [self getInitialLink] returns nil and because of self.flutterError also being nil the result returns just with nil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    impact: customerA bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)plugin: dynamic_linkstype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions