Mobile Web Capture is a solution designed for iOS and Android browsers. It helps developers to build document scanning web applications for mobile users to load, edit, save, and capture images from the camera right in mobile browsers.
Featured Products:
Table of Contents
The following code snippet is using the public trial license to initialize the license. You can replace the public trial license with your own license key.
await Dynamsoft.License.LicenseManager.initLicense("DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTEwMjQ5NjE5NyJ9", true);// Replase license here
Mobile Web Capture requires the following features to work:
-
Secure context (HTTPS deployment)
When deploying your application / website for production, make sure to serve it via a secure HTTPS connection. This is required for two reasons
- Access to the camera video stream is only granted in a security context. Most browsers impose this restriction.
Some browsers like Chrome may grant the access for
http://127.0.0.1
andhttp://localhost
or even for pages opened directly from the local disk (file:///...
). This can be helpful for temporary development and test.- Dynamsoft License requires a secure context to work.
-
WebAssembly
,Blob
,URL
/createObjectURL
,Web Workers
The above four features are required for the SDK to work.
The following table is a list of supported browsers based on the above requirements:
Browser Name | Version |
---|---|
Chrome | v78+ |
Firefox | v79+ |
Safari | v15+ |
Edge | v92+ |
Apart from the browsers, the operating systems may impose some limitations of their own that could restrict the use of the SDKs.
You can check out the detailed documentation of the solution here.
Check out the release notes.