Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Xamarin.Social Facebook login

When logging into Facebook on Android I get a security warning page at the end of the process during a successful login. Is it possible to suppress this page?


  • ZrednaZredna USMember
    edited April 2014

    I had the same problem and found a solution. I see this question is a year old, but I'll leave this here in case anyone else has the same problem:

    public override bool ShouldOverrideUrlLoading (WebView view, string url) { if (url.StartsWith ("")) { view.Visibility = ViewStates.Invisible; } view.LoadUrl (url); return true; }

    This will make the WebView invisible for the page showing the sercurity warning.
    Should probably add a ProgressDialog or something instead, so the user doesn't see a blank screen for a couple of seconds.

    Edit: You override ShouldOverrideUrlLoading in the webview's client.

Sign In or Register to comment.