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
220 stars 81 forks source link

Support for a wider range of URIs on Windows. #149

Closed twinstar6980 closed 2 months ago

twinstar6980 commented 2 months ago

In the current implementation, on Windows, app_links will only treat argv[1] that matches <scheme>://... as a URI. However, according to rfc 39866, URIs do not always contain '/' and '//'. The following URIs are also valid: image Should the regex be changed from ^\w+:// to ^\w+:? btw, on iOS, as long as the URL contains a single slash <scheme>:/<path>, the app can be launched from Safari.

twinstar6980 commented 2 months ago

@llfbandit Please push v6.3.1 to pub.dev 🙏

llfbandit commented 2 months ago

Done!