Frontend Integration(H5)
Embed our H5 Frontend into your APP first ,if you perfer H5 Frontend.
How To Integrate
1. Open URL in WebView
After calling the Generate URL API, there will be a url in the response body, and the App needs to open the URL in WebView.
2. Give Camera Permission
Refer to Camera Permission (H5)
Iframe Integration Guide
Refer to Iframe Integration (H5)
Error handling
When an exception occurs blocking the process on the frontend, the frontend will be redirected to the failReturnUrl, carrying the errorCode=XXX, where the errorCode is one of the following enumerated values.
| errorCode | Description |
|---|---|
| BROWSER_ISSUE | Not supported due to compatibility issues |
| NO_PERMISSION | No camera permission |
| CAMERA_ISSUE | Camera issue error |
| RESELECT_DOC_TYPE | User clicked to reselect document type |
| NOT_SUPPORT | Browser not supported |
| NO_SUPPORTED_CARD | The card type detected from the document image is not supported. |
Compatible Matrices
Supported browsers
The minimum browser versions supported by our H5 services are listed below.
| Chrome | Safari | Edge | Opera | iOS Safari | Android Browser | Chrome for Android | Internet Explorer |
|---|---|---|---|---|---|---|---|
| 96 | 15 | 93 | 82 | 15 | 81 | 96 | Not supported |
Sources:caniuse and WebAssembly Roadmap
Updated 26 days ago
Did this page help you?
