Document Import Guide

When activating this feature, you can indicate the types of documents the user can choose from (images only, PDF files only, or both images and PDF files). To enable it, pass a DocumentImportEnabledFileTypes enum value to GiniBank.setCaptureConfiguration(CaptureConfiguration(documentImportEnabledFileTypes = )).


Android Manifest

Declare that your app queries for apps can handle intents to pick or open images and PDF files. For more information, see Package visibility filtering introduced in Android 11.

<queries> <intent> <action android:name="android.intent.action.PICK" /> <data android:mimeType="image/*" /> </intent> <intent> <action android:name="android.intent.action.OPEN_DOCUMENT" /> <data android:mimeType="image/*" /> </intent> <intent> <action android:name="android.intent.action.OPEN_DOCUMENT" /> <data android:mimeType="application/pdf" /> </intent> </queries>

The READ_MEDIA_IMAGES and READ_EXTERNAL_STORAGE permissions cause inconsistent behavior in combination with Android 14's new partial access to photos. Starting with Gini Bank SDK 3.4.0 these permissions are not required anymore and you can remove them from your Android manifest if you only added them for our SDK.

Â