In my android kotlin code I want to get the value of a query parameter and when the uri string is like below
example.com/sharelink?id=123
then url.getQueryParameter('id') returns the correct value.
but if the uri is in hashroute format like below
example.com/#/sharelink?id=123
then url.getQueryParameter('id') returns null.
Here the uri is not in my control so I cannot change this hashroute format.
Could anyone please help me to resolve the query parameter in a proper way rather than using any string matching.
Thanks