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 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.
Created attachment 18254 [details]
Resulting of running WebView in a workbook.
The inability to set Android manifest permissions in a Workbook severely limits the Workbook content we can write. For example, I'm trying to write a Workbook for Android WebView (which requires INTERNET permissions). I have the following code in a workbook:
var rootActivity = StartedActivities.First ();
var layout = new LinearLayout (rootActivity);
layout.Orientation = Orientation.Vertical;
WebView myWebView = new WebView (rootActivity);
Running this code in a workbook produces the ERR_NAME_NOT_RESOLVED error (see screenshot) because of the lack of Internet permissions. (This is true regardless of which version of Xamarin.Workbook I try.) As a possible workaround, perhaps INTERNET permission can be enabled by default?
Tom O. and I put together a list of the permissions that we think could be used by Android Workbooks (and therefore should by enabled default):
Fixed in https://github.com/xamarin/inspector/pull/946.
That being said, the original complaint was lack of INTERNET permission, but that permission has always been present.
So this may not fix whatever the original bug was.