I need to convert this assetUrl into a Blob file. I tried in this way:
var dataUriToBlob = require('data-uri-to-blob');
var assetBlob = dataUriToBlob(assetUrl);
console.log("assetBlobTIPO", typeof assetBlob)
the console.log says assetBlob is NaN. Not sure it is correct.
Then i also need to convert the Blob file i get from the database into, back to a Uri file, so I can display it in my application when i click on it. Any solution?