Join GitHub today
[Android] Remove WebViewRenderer dependency on Activity #4428
Description of Change
The context is not always an Activity, for example running on the Previewer. Remove the Exception , handle fail gracefully with a Log warning
IF running in the previewer you won't be able to open alerts or the file picker for a WebView.
Check if the previewer doesn't crash in a Xaml page with a