Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

WebBrowser not visible in Windows Phone PageRenderer.

$
0
0

Hi all,

I need to implement OAuth2 login using Xamarin.Auth and Xamarin Forms.

For iOS and Android is straightforward, but for Windows Phone I had to download the library from the alpha channel in Nuget. Problem is there are no examples and I don't really know how to complete the step of Auth.GetUI(), which returns a URI.

So, I created a PageRenderer for the Windows Phone platform and for the Children property I added a WebBrowser control setting the URI. I do this programmatically in the OnElementChanged.

Problem is that I can't see the WebBrowser control added in the page. I also tried with a StackPanel and two test labels, with a WebBrowser between them, still not able to make the WebBrowser visible, though the labels are shown properly.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>