writeDocumentToFile

public static void writeDocumentToFile(Context context, Document document, String suffix)

Helper for writing a document to file. Has no effect if debugging is disabled.

The filename consists of a timestamp concatenated with the suffix. Ex.: if suffix is "_original" then 1469541253_original.jpeg

Destination directory is ginicapturesdk inside your apps external files directory: /sdcard/Android/data/your.app.id/files/ginicapturesdk/