avioli / uni_links

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

uni not get full url data #157

Open hamid3d opened 2 years ago

hamid3d commented 2 years ago

Hi Thank you for your package it works for my project but for more than two data query parameters it does not work for example for this query that you suggest to help

adb shell 'am start -W -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "unilinks://example.com/path/portion/?uid=123&token=abc"'

it only returns uid=123 but ignores token=abc I don't know what is the problem

fauzi2107 commented 2 years ago

@hamid3d Hi, have you solved it?

alexhdez98 commented 1 year ago

Check the solution provided on issue #100 , it seems that it's unable to correctly parse the '&' @hamid3d @fauzi2107

mrtsmglv commented 1 year ago

& should be replaced with \&

Example:

adb shell 'am start -W -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "unilinks://example.com/path/portion/?uid=123\&token=abc"'