blob: c1528f05890d02f7688be63dc406ae2025b68860 [file] [log] [blame] [view]
Nate Fischerf39ab682019-07-01 17:13:08 -07001# androidx.webkit
2
3The androidx.webkit library is a static library you can add to your Android
4application in order to use android.webkit APIs that are not available for older
5platform versions.
6
7## Basic info
8
9* [Library owners](OWNERS)
10* [Release notes](https://developer.android.com/jetpack/androidx/releases/webkit)
11* [Browse source](https://android.googlesource.com/platform/frameworks/support/+/androidx-master-dev/webkit/)
12* [Reference docs and guide to import the library](https://developer.android.com/reference/androidx/webkit/package-summary)
13* [Existing open bugs](https://issuetracker.google.com/issues?q=componentid:460423%20status:open)
14* [File a new bug](https://issuetracker.google.com/issues/new?component=460423)
15
16## Building the library (for local development)
17
18If you're trying to modify the androidx.webkit library, or apply local changes
19to the library, you can do so like so:
20
21```sh
22cd frameworks/support/
23# Build the library/compile changes
24./gradlew :webkit:assembleDebug
25# Run integration tests with the WebView installed on the device
26./gradlew :webkit:connectedAndroidTest
27# Update API files (only necessary if you changed public APIs)
28./gradlew :webkit:updateApi
29```
30
31For more a detailed developer guide, Googlers should read
32http://go/wvsl-contribute.
33
34## API demo code
35
36We also maintain a demo app ([demo
37code](/webkit/integration-tests/testapp/src/main/java/com/example/androidx/webkit),
38[developer guide](/webkit/integration-tests/testapp/README.md)) to demonstrate
39how to properly use the latest androidx.webkit APIs in your Android app.