Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.proof.community/llms.txt

Use this file to discover all available pages before exploring further.

The Proof widget runs inside a browser container on mobile. Different containers have different compatibility with Apple Pay, Google Pay, and the verification camera.

iOS

Camera permission (verification)

The identity-verification liveness check requires camera access. Add to your Info.plist:
<key>NSCameraUsageDescription</key>
<string>Required for identity verification</string>

WKWebView setup

If embedding the widget inside a WKWebView:
let configuration = WKWebViewConfiguration()
configuration.allowsInlineMediaPlayback = true

let webView = WKWebView(frame: .zero, configuration: configuration)

Apple Pay compatibility

ContainerApple Pay
Safari✅ Works
WKWebView✅ Works
Chromium-based in-app browser❌ Does not work
If Apple Pay matters for your users, make sure the widget opens in Safari or WKWebView — not in a Chromium-based in-app browser.

Android

Use Chrome Custom Tabs for the best compatibility. Google Pay works, the camera works, and no extra configuration is needed.
CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
CustomTabsIntent customTabsIntent = builder.build();
customTabsIntent.launchUrl(context, Uri.parse(widgetUrl));

WebView setup

If you use WebView instead of Chrome Custom Tabs: AndroidManifest.xml:
<uses-permission android:name="android.permission.CAMERA" />
WebView settings:
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setMediaPlaybackRequiresUserGesture(false);
webView.setWebChromeClient(new WebChromeClient() {
    @Override
    public void onPermissionRequest(PermissionRequest request) {
        request.grant(request.getResources());
    }
});

Google Pay compatibility

ContainerGoogle Pay
Chrome Custom Tabs✅ Works
WebView❌ Does not work
Google Pay does not work in Android WebView. If your users need Google Pay, use Chrome Custom Tabs.

Compatibility summary

FeatureiOS SafariiOS WKWebViewAndroid Custom TabsAndroid WebView
Verification camera✅ (with config)
Apple Pay
Google Pay