I am using the file chooser plugin to pick pdf. I'm getting uri in the following format.
content://com.android.providers.downloads.documents/document/raw%3A%2Fstorage%2Femulated%2F0%2FDownload%2F201215_makemyvideo_app_german_converted.pdf
const buffer = await this.file.readAsArrayBuffer(uri, fileName);
const fileBlob = new Blob([uri], { type: 'application/pdf' });
But I'm getting the error input is not a directory
How to convert uri to blob?