Skip to content

Fork of Xamarin.Forms.WebView with common custom renderer features as standard

License

Notifications You must be signed in to change notification settings

Axemasta/SuperWebView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Web View

Fork of Xamarin.Forms.WebView with common custom renderer features as standard

I created this control to better fulfill my own requirements for a web browsing component on Xamarin Forms. This control is a direct fork of the Xamarin control, I have extensively used code form the Xamarin Forms repository to create this library.

For complete documentation about this control, see the Wiki.

For a fully implemented sample app, see the [sample app](# Sample App).

Build Status

Build Status
Axemasta.SuperWebView Build Status

Better Navigation

The original WebView components does not best support complicated scenarios such as asyncronously cancelling navigation to a website. I originally discovered this limitation when implementing website filtering in an app and raised this PR to address the limitation. Unfortunately it doesn't look like it will ever make it into Forms with the blocking of breaking changes in Forms 5, as it moves to LTS.

Using the new SuperWebNavigatingArgs it is possible to defer navigation until you have confirmed whether a url can be accessed, for usage examples see the Wiki.

More Events

There are multiple events that I have added to the control including loading progress and javascript callbacks. All of the additional evens are things you might want to add in a custom renderer. Each event is intended to enable common behaviour that is expected of a web browsing app.

Better Platform Customisaton

The native platforms have some cool features which can be quite hard to tap into, this control aims to allow you to specifically override the behaviour of native api's, and easily reintegrate back into the forms control.

NuGet Package

This library is available on NuGet.org, you should install it into all of your Forms projects (shared, ios, android).

Package NuGet
Axemasta.SuperWebView SuperWebViewNuGetShield

Sample App

This project comes with a fully implemented sample app to demonstrate all of the features of this control. I will be updating the wiki with all of the current possibilities but for now please run the sample app to get a flavour of whats possible. Nothing in the sample app requires custom renderers and is available out of the box!

Preview of the sample app

About

Fork of Xamarin.Forms.WebView with common custom renderer features as standard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages