I need to navigate to an internet page within my metro application.
My url is (sample) ‘http://www.foo.com/#/foo’.
The issue is that LaunchUriAsync cut the url to ‘http://www.foo.com’.
try
{
Uri uri = new Uri(item.UriCode);
await Launcher.LaunchUriAsync(uri);
}
catch (Exception exception)
{
//TODO
}
Where am I wrong ?
Regards.
Update :
I precise that uri = http://www.foo.com/#/foo.
So the issue comes from LaunchUriAsync .
I tried with the same code just hardcoding the uri that you mentioned
Please check the code below :
The output is shown below
i think there’s some other problem.
May be with the
item.UriCodeline please check .