RodrigoSMarques/flutter_branch_sdk

Deeplink surives hot-restar and launches twice or more in iOS

Closed this issue · 1 comments

Keep the template and provide all requested information:

Describe the bug
This behaviour is the same as reported here: BranchMetrics/capacitor-branch-deep-links#29

Only on iOS, when you open a branch dynamic link the listSession method correctly fires, but when you hot-restart the app it will be triggered again as if the link was opened (when it wasnt)

To Reproduce
Steps to reproduce the behavior:

  1. Build the app and open a branch.io link
  2. Hot-restart the app
  3. See that listSession is called again

Expected behavior

This should fire only ones, and not survive hot-restart

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

  • Flutter: version: Flutter 3.24.0 • channel stable

  • flutter_branch_sdk version: ^7.1.0

  • OS: iOS 17.6.1

  • Device: iPhone 15 (real device)

  • Additional context

None

Closing this as it does not reproduce in the latest version