Skip to main content

Getting started

Sample Project

If you prefer sample projects over documentation, check out our samples on Github:

Docutain SDK Dependencies

The Docutain Xamarin SDK supports cross platform apps via Xamarin.Forms as well as native apps via Xamarin.Android and Xamarin.iOS. The packages are distributed via nuget.

If you are developing your app cross platform via Xamarin.Forms, install the nuget package Docutain.SDK.Xamarin.Forms into all of your projects.

NuGet package


If your Xamarin.Forms version is lower than, you will get below error when installing the nuget package. We recommend updating Xamarin.Forms to at least version If this is not possible for you, you can follow the suggestion in the error message and install Xamarin.AndroidX.LifeCycle.LiveData directly into your Android project.

NuGet package

Android Manifest

Camera Permission

If you want to use the Document Scanner, declare the following permission in your AndroidManifest.xml

<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name=""/>

Runtime permission for camera is handled automatically by the Docutain SDK.

Memory settings

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 AndroidManifest.xml file.

<application android:largeHeap="true" ...>

iOS Manifest

Camera Permission

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.