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

Uri.host convert to lowercase #92

Closed labulakalia closed 5 months ago

labulakalia commented 5 months ago

Describe the bug

appLinks.uriLinkStream.listen(callback)

use this schemes sample://foAAA/#/booAAAk/hello-deep-linking

but get uri host is sample://foaaa

foAAA convert foaaa

Does it related to

[ ] App Links (Android)
[ ] Deep Links (Android)
[ ] Universal Links (iOS)
[ ] or Custom URL schemes? (iOS)

Does the example project work?

[] Yes
[x] No
[ ] Irrelevant here

Did you fully read the instructions for the targeted platform before submitting this issue?

Uploaded your files to webserver, HTTPS, direct connection, scheme pattern setup, ...

[ ] Yes
[ ] No
[ ] Irrelevant here

截屏2024-01-24 21 40 57
llfbandit commented 5 months ago

Thanks for the report. You can use string counterparts for this case like stringLinkStream and so on...

This issue is due to Uri.parse from SDK.

labulakalia commented 5 months ago

@llfbandit thanks, I use appLinks.allStringLinkStream is ok