0

Currently am using Label using span text to separate privacy policy and terms and conditions. In Terms and conditions worked as expected because they provided an HTML URL but the Privacy policy Url in the pdf link. Is that possible to click the option to show the browser or drive to view the pdf in xamarin forms?

Dev Xam
  • 53
  • 7
  • Yes. Add a gesture recognizer to the label and use [Browser](https://learn.microsoft.com/en-us/xamarin/essentials/open-browser?tabs=android) to open the url, or you can use a `WebBrowser` control if you want to keep the user in your app. But not every Android device is capable of displaying PDF – Jason Sep 02 '22 at 11:48
  • Currently am using Browser.OpenAsync not working as expected. can u pls provide any sample in WebBrowser @Jason – Dev Xam Sep 02 '22 at 13:11
  • "not working as expected" does not tell me anything useful. – Jason Sep 02 '22 at 13:12
  • @Jason, when we click on the Privacy policy, link the in mobile application it shows blank screen but same time downloads pdf with privacy policy with right content. – Dev Xam Sep 05 '22 at 05:43

0 Answers0