Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbytedev/net.xamarin.plugins.webbrowser
Provides a cross-platform UI for displaying the web page.
https://github.com/sbytedev/net.xamarin.plugins.webbrowser
android c-sharp ios web-browser xamarin
Last synced: about 1 month ago
JSON representation
Provides a cross-platform UI for displaying the web page.
- Host: GitHub
- URL: https://github.com/sbytedev/net.xamarin.plugins.webbrowser
- Owner: sbytedev
- License: mit
- Created: 2019-08-22T16:02:54.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-01-01T04:01:28.000Z (about 2 years ago)
- Last Synced: 2024-12-15T23:11:39.451Z (about 1 month ago)
- Topics: android, c-sharp, ios, web-browser, xamarin
- Language: C#
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebBrowser Plugin for Xamarin
![GitHub](https://img.shields.io/github/license/SByteDev/Net.Xamarin.Plugins.WebBrowser.svg)
![Nuget](https://img.shields.io/nuget/v/SByteDev.Xamarin.Plugins.WebBrowser.svg)
[![CI](https://github.com/SByteDev/Net.Xamarin.Plugins.WebBrowser/actions/workflows/ci.yml/badge.svg)](https://github.com/SByteDev/Net.Xamarin.Plugins.WebBrowser/actions/workflows/ci.yml)
[![CD](https://github.com/SByteDev/Net.Xamarin.Plugins.WebBrowser/actions/workflows/cd.yml/badge.svg)](https://github.com/SByteDev/Net.Xamarin.Plugins.WebBrowser/actions/workflows/cd.yml)
[![CodeFactor](https://www.codefactor.io/repository/github/sbytedev/net.xamarin.plugins.webbrowser/badge)](https://www.codefactor.io/repository/github/sbytedev/net.xamarin.plugins.webbrowser)Provides a cross-platform UI for displaying the web page.
## Installation
Use [NuGet](https://www.nuget.org) package manager to install this library.```bash
Install-Package SByteDev.Xamarin.Plugins.WebBrowser
```## Usage
```cs
using SByteDev.Xamarin.Plugins.WebBrowser;await WebBrowserPlugin.Instance.ShowWebPageAsync(new Uri("https://github.com"), CancellationToken.None);
```
## Implementation
### iOS
Uses default [SFSafariViewController](https://docs.microsoft.com/en-us/dotnet/api/safariservices.sfsafariviewcontroller).### Android
Uses [CustomTabsIntent](https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsIntent) from [Xamarin.AndroidX.Browser](https://www.nuget.org/packages/Xamarin.AndroidX.Browser/).## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update the tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)