If you prefer sample projects over documentation, check out our Docutain SDK Capacitor Sample on Github.
Docutain SDK Dependencies
The Docutain SDK for Capacitor is distributed through npm package.
Install the nuget package into your project.
npm install @docutain/capacitor-plugin-docutain-sdk
yarn add @docutain/capacitor-plugin-docutain-sdk
If you want to use the Document Scanner, declare the following permission in your
Runtime permission for camera is handled automatically by the Docutain SDK.
Your application will work with high-resolution images. To avoid OutOfMemoryError exceptions it is highly recommended to set
android:largeHeap="true" in the
<application> element of your
<application android:largeHeap="true" ...>
If you want to use the document scanner, you need to specify the reason for requesting access to the camera as part of the
NSCameraUsageDescription in the
Info.plist. If you don't the app will crash.