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

AppLinks not working for flutter web #71

Closed Faiza-Farooqui closed 9 months ago

Faiza-Farooqui commented 10 months ago

AppLinks not working for flutter web

this package doesn't help us open flutter web page, like if i generated link to open any particular product from flutter web app it doesn't leads us to that particular page

llfbandit commented 10 months ago

The package does nothing by itself, when retrieving the link, it is up to you to navigate to the proper page if this is what you want. Deeplinking does not mean routing (while this is often the case).

On web, the package gives you the current URL called.

Faiza-Farooqui commented 10 months ago

can you please tell me that if I have one flutter app, run on all platforms (android, ios, flutter web), does it open the web or not? Have you tested that on your flutter web?

On Wed, Aug 16, 2023 at 1:11 PM llfbandit @.***> wrote:

The package does nothing by itself, when retrieving the link, it is up to you to navigate to the proper page if this is what you want. Deeplinking does not mean routing (while this is often the case).

On web, the package gives you the current URL called.

— Reply to this email directly, view it on GitHub https://github.com/llfbandit/app_links/issues/71#issuecomment-1681208663, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXVPKZISE2IR67KT5IF6BDXVUSONANCNFSM6AAAAAA3SWI24M . You are receiving this because you authored the thread.Message ID: @.***>

kayumarie commented 10 months ago

Same here, I have an app running on iOS, Android. And crashing on web:

Error

UnimplementedError: allUriLinkStream not implemented on the current platform.

Stacktrace

dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49  throw_
packages/app_links/src/app_links_platform_interface.dart 83:39                get allUriLinkStream
packages/app_links/src/app_links.dart 46:38                                   get allUriLinkStream
HRahimy commented 10 months ago

Same here, I have an app running on iOS, Android. And crashing on web:

Error

UnimplementedError: allUriLinkStream not implemented on the current platform.

Stacktrace

dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49  throw_
packages/app_links/src/app_links_platform_interface.dart 83:39                get allUriLinkStream
packages/app_links/src/app_links.dart 46:38                                   get allUriLinkStream

Getting the same error here as well. Running on flutter web.

Seems incompatible with web right now.

llfbandit commented 9 months ago

For those who have platform UnimplementedError. Please refresh your projects to ensure that the package is registered for web platform.

llfbandit commented 9 months ago

Sorry, I digged into the code tonight and saw that those methods where missing. Fixed in v3.4.4.