balazsgerlei / SecureWebView

Android WebView wrapper with secure defaults to avoid security issues caused by misconfiguring WebViews.
Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

SecureWebView

API license last commit build

Android WebView wrapper with secure defaults to avoid security issues caused by misconfiguring WebViews.

Still under heavy development, breaking API changes are expected!

Setup

The library is currently hosted on jitpack.io. You can add it as a depenency to your project:

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.balazsgerlei:SecureWebView:1.0.0-alpha03'
}