llfbandit / app_links

Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler for Flutter.
https://pub.dev/packages/app_links
Apache License 2.0
176 stars 68 forks source link

iOS uriLinkStream not receiving any links but showing logs #16

Closed dehypnosis closed 2 years ago

dehypnosis commented 2 years ago

Thanks for your hard work.

Here is my situation.

Initial link works well. But uriLinkStream never provide events. But it still shows logs like below..

"iOS handleLink: myapp://myapp.com/chats"
"iOS handleLink: myapp://myapp.com/chats"

... and finally as a workaround i am using 2.2.2 for now with similar interface..

    final deepLinkStreamController = StreamController<Uri>.broadcast();
    final appLinks = AppLinks(onAppLink: (uri, str) {
      deepLinkStreamController.add(uri);
    });

    ...

   deepLinkStreamController.stream.listen((link) {
      ...
   });

Anyone has same issue?

dehypnosis commented 2 years ago

Sorry my mistake. forget it

pratik97179 commented 1 year ago

@dehypnosis Were you able to resolve the issue? If yes, how?