avioli / uni_links

Flutter plugin for accepting incoming links.
BSD 2-Clause "Simplified" License
563 stars 303 forks source link

How to Listen to URI changes on Web? #117

Open varunbhalerao56 opened 3 years ago

varunbhalerao56 commented 3 years ago

Hey, I am not sure if this is an amateur question but is there any way to stream the URI changes for the web as we can do with Android and iOS. If not is there an alternative way to listen to those as I have looked throughout multiple posts and articles but none seem to cover it?

93 states the following but I am unable to understand it thus I am asking.

As the URL cannot be changed in Web apps by an external process without restarting the app, attempting to use the stream APIs will result in an UnsupportedError.

daraul commented 3 years ago

I'm having this issue as well, were you able to work around it?

cybertheory commented 1 year ago

var url = window.location.href;