Recieve firebase dynamic link suffic in onGenerateRoute in iOS flutter

269 views Asked by At

Suppose I clicked on a dynamic link like this https://jackui.me/znV8 (demo dynamic for ex) then I receive /znv8 in my onGenerateRoute in the Material app and then on firebase dynamic listener I want to receive the resolved deep link in just firebase dynamic listener and I am unable to find out how I am receiving the dynamic URL suffix in onGenerateRoute I want to stop it

this is happening only in iOS iPhones, working fine on android

 MaterialApp(
              onGenerateRoute: (s) {
                 print(s); /// receiving here /znv8
              },
            ),

then received here the working deep link from dynamic URL

   FirebaseDynamicLinks.instance.onLink.listen((data) {
          Navigator.pushNamed(context, data.link.path);
        })
0

There are 0 answers