Skip to content

Android cannot get the opening link (onInitFinished called after clicking on deep link two times) #325

Closed
@vasa137

Description

@vasa137

Describe the bug
Using new version 8.0.0, onInitFinished is not called when application is opened. It doesn't make any difference if it's opened by clicking on deep link or opened via launcher icon.

To Reproduce
Steps to reproduce the behavior:

  1. Open the app using deep link
  2. listSession will not return clicked link, there will be no events
  3. On the native Android side "onInitFinished" log is not printed, just "onListen"

Expected behavior
ListSession should return opening deep link or "null" if app is opened using launcher icon.

Smartphone (Please complete the following information. remove session if not platform):

  • Flutter: version: 3.19.6
  • Package version: 8.0.0
  • OS: Android 14
  • Device: Samsung Galaxy S21 FE

Additional context
When I click on deep link again, onInitFinished is called and deep link is received in listSession stream - so just the first link is always missed :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions