Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

WebView shows blank screen with XF3.0 #3073

Closed
LGFox opened this issue Jun 18, 2018 · 2 comments
Closed

WebView shows blank screen with XF3.0 #3073

LGFox opened this issue Jun 18, 2018 · 2 comments
Assignees
Milestone

Comments

@LGFox
Copy link

LGFox commented Jun 18, 2018

Description

Xamarin.Forms WebView control doesn't apply custom port in URL on iOS and shows blank screen.

Steps to Reproduce

  1. Create empty Xamarin.Forms app.
  2. In xaml add <WebView Source="http://portquiz.net:8080/" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" />
  3. Run it on iOS.

Expected Behavior

The page is opened. (It does on Android)

Actual Behavior

Blank screen displayed.

Basic Information

  • Version with issue: Xamarin.Forms.3.0.0.561731
  • Last known good version: --
  • IDE: VisualStudio 2017 15.7.2
  • Affected Devices: Checked on iPhone 7 Plus

Reproduction Link

https://github.com/LGFox/WebView.Bug

@kingces95
Copy link
Contributor

@rmarinho I'm going to assume you triaged this given you self-assigned it. Lemme know if that's not the case.

@davidhardie
Copy link

Sadly this also drops any url based basic authentication.
url of “https://user:pwd@server.com/resource” drops the user:pwd part.
This worked on Xamarin 2.5 (cant confirm if 3.0 was affected, but 3.1 was tested and the url is changed, dropping the creds.

Will this change also include a fix for this use case?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants