---
title: "Android WebView implementation guide | Veriff.com"
slug: "android-webview-guide"
description: "Learn how to implement verification flow into Android application using WebViews."
status: "new"
updated: 2025-06-06T14:06:53Z
published: 2025-06-06T14:06:53Z
canonical: "devdocs.veriff.com/android-webview-guide"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.veriff.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Android WebView implementation guide
This guide explains how to integrate our verification flow into your Android application using WebViews.
Veriff support two WebView implementations, each with different use cases and requirements.
## WebView Options
### Chrome custom tabs
- Provides a tab-based browser experience that maintains visual consistency with your app
- Compatible only with the Redirect approach
- Not compatible with InContext SDK (due to security concerns with JS injection)
### WebView (recommended)
- Embeds web content directly within your native app
- Offers greater JavaScript control and customization
- Required for InContext SDK
- Recommended for most use cases
---
## Required OS Permissions
Add these permissions to your `AndroidManifest.xml` before implementing the verification flow:
```xml
```
**Note**: The `MODIFY_AUDIO_SETTINGS` permission is required for proper microphone functionality in some Android devices, particularly when using Veriff’s flow in a WebView. If you do not need audio, and the `audio_disabled` flag is `true`, you do not need this permission setting.
You will also need to request these permissions at runtime for Android 6.0 (API level 23) and higher.
---
## WebView configuration
The following settings are essential for proper WebView functionality in Veriff’s verification flow:
### Key WebView settings
For your Android WebView, ensure you configure these critical settings:
```kotlin
// SETTING: Enable JavaScript
// WHAT IT DOES: Ensures JavaScript is enabled, which is required for the web application
// DOCS: https://developer.android.com/reference/android/webkit/WebSettings#setJavaScriptEnabled(boolean)
webView.settings.javaScriptEnabled = true
// SETTING: Enable DOM storage
// WHAT IT DOES: Allows the web application to use DOM storage APIs
// DOCS: https://developer.android.com/reference/android/webkit/WebSettings#setDomStorageEnabled(boolean)
webView.settings.domStorageEnabled = true
// SETTING: Disable user gesture requirement for media playback
// WHAT IT DOES: Critical for allowing camera access without user tap/interaction
// DOCS: https://developer.android.com/reference/android/webkit/WebSettings#setMediaPlaybackRequiresUserGesture(boolean)
webView.settings.mediaPlaybackRequiresUserGesture = false
```
---
## Changelog
| Date | Description |
| --- | --- |
| Jun 6, 2025 | Heading “Article versioning” changed to “Changelog” |
| May 15, 2025 | Documentation published |
A **process where the end-user submits the data** required to get verified.
Also referred to as the "end-user flow".