Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
When using the Web Browser provided in Xamarin.Forms, it would be great if there was a way to determine:
1. When the web browser is loaded. There does not appear to be an event that fires when a page has been loaded from within the component.
2. There does not appear to be a way to determine the http status code of a web page request. It would be great to get the code, such as 200, 404, whatever.
With these two features, we would be able to better determine errors that have occurred and provide some type of assistance to the user. This capability is exposed in iOS and Android.
I have checked this issue with the help of bug description and observed that no way exist in web view to check status code.
I also observed that HttpStatusCode is a class under System.Net namespace that returns status code.
Please let me know that are you talking about the same behavior? as shown in screencast : http://www.screencast.com/t/wlDUhzeF7ko
Also It would be great If you provide us build info and environment detail.
Xamarin.Forms : 220.127.116.1192
=== Xamarin Studio ===
Version 5.5.4 (build 15)
Installation UUID: 3d25a767-a003-4a7d-9f5e-e57987cf6cf0
Mono 3.10.0 ((detached/92c4884)
GTK+ 2.24.23 (Raleigh theme)
Package version: 310000031
=== Apple Developer Tools ===
Xcode 6.1 (6602)
=== Xamarin.Mac ===
Version: 18.104.22.168 (Enterprise Edition)
=== Xamarin.Android ===
Version: 22.214.171.124 (Enterprise Edition)
Android SDK: /Users/mac360_xamarin/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
=== Xamarin.iOS ===
Version: 126.96.36.199 (Enterprise Edition)
Build date: 2014-11-16 21:03:22-0500
=== Build Information ===
Release ID: 505040015
Git revision: f93940a35458a18052f1a25e106e62ca970d9c40
Build date: 2014-11-19 15:32:41-05
Xamarin addins: dc23cbd91a3a0e1d326328e1229e86c942a49ec8
=== Operating System ===
Mac OS X 10.10.0
Darwin mac360-xamarins-Mac-mini.local 14.0.0 Darwin Kernel Version 14.0.0
Fri Sep 19 00:26:44 PDT 2014
For what it's worth, the native iOS webview doesn't offer this functionality either. I was checking to see whether switching from xamarin native to xamarin forms would help me avoid doing the HTTP gruntwork myself, but I guess not.