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.
Table of Contents
- Hello World - Singlepage - Guide | Github | Run
- Hello World - Continuous Mode - Guide | Github | Run
- Popular use cases
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); // Replace license here
Mobile Web Capture requires the following features to work:
-
Secure context (HTTPS deployment)
-
set Content-Type: application/wasm.
Note:
If you open the web page as file:///
or http://
, the camera may not work correctly because the API getUserMedia usually requires HTTPS to access the camera.
To make sure your web application can access the camera, please configure your web server to support HTTPS. The following links may help.
- NGINX: Configuring HTTPS servers
- IIS: Create a Self Signed Certificate in IIS
- Tomcat: Setting Up SSL on Tomcat in 5 minutes
- Node.js: npm tls
If the test doesn't go as expected, you can contact us.
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.