You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2021. It is now read-only.
Firstly, thanks so much for your work on this SDK! Much appreciated.
I was wondering if it was possible to upload a document to onfido via the Java SDK without first creating a File object. The app I'm working on will receive documents from upstream and I would prefer not to save the file to disk first before sending it onto Onfido, mostly because I already have a ByteArray of the document in memory and also because the nature of the content is PII and I'd rather not have those files stored on the server (albeit temporarily).
Currently the uploadDocument methods require a java.io.File object. Would it be possible to have a version that took an InputStream instead? Or should I be using the REST API directly?