Skip to main content
QuestionAnswer
How does camera permission handling work?SDK depends on the client application to request permissions. It involves user prompts but not automatic browser pop-ups.
Can permission denial messaging be customized?No, messaging on permission denial is fixed per ICP standards but may be revisited for better UX in future iterations.
Can the Federal Authority logo be changed?No, the Federal Authority logo stays standard. Other branding elements can be adjusted.

Camera Opens in PiP Mode on iOS WebView

When loading the SDK inside an iOS WebView (native WKWebView or Cordova), the camera may open in Picture-in-Picture (PiP) mode instead of rendering inline within the WebView. This happens because allowsInlineMediaPlayback is disabled by default in both iOS native WebKit and Cordova WebViews.

Fix for Native iOS (WKWebView)

Set allowsInlineMediaPlayback to true on your WKWebViewConfiguration before creating the WebView:
let config = WKWebViewConfiguration()
config.allowsInlineMediaPlayback = true

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

Fix for Cordova

Add the following preference to your config.xml. See Cordova iOS Configuration for more details.
<preference name="AllowInlineMediaPlayback" value="true" />
Then ensure your HTML video elements include the playsinline attribute:
<video playsinline></video>
Without this configuration, the camera will always open in PiP mode on iOS devices. This setting must be applied before the WebView is created — it cannot be changed at runtime.