skip to Main Content

Currently I am working with the Dynamic links from Firebase to implement the password reset function.

On Android everything is working fine and I am handling the deep link if the app get opened by it.

On iOS on the other hand it’s also working, but the Flutter app pushes an extra named route with the value of the link. So if someone opens the app it automatically pushes a page with the named route "example.link.com".

How can I disable that?

2

Answers


  1. You have to pass the apple store id and bundle id and minimum version in the IOSParameters

    iosParameters: const IOSParameters(
        bundleId: "com.example.app.ios",
        appStoreId: "123456789",
        minimumVersion: "1.0.1",
      ),
    

    Also put the appStoreId in the firebase project in project settings

    Login or Signup to reply.
  2. There is an issue open on FlutterFire for this behavior, Flutter deep-linking and firebase_dynamic_links should work well together, but the reason is as follows:

    On this documentation from flutter, it shows that to activate flutter deep linking on iOS, you need to add this to info.plist

    <key>FlutterDeepLinkingEnabled</key>
    <true/>
    

    and below it, there’s a table showing the behavior of a flutter app with flutter deep linking enabled :
    enter image description here

    which is exactly what we are experiencing.
    so removing that flag from my project’s info.plist fixed my problem.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search