I need to show a PDF file from blob. Ideally using PHP, I would send header information as shown below.
$gotten = @mysql_query(“select * from pdf order by pid desc limit 1”);
$row = @mysql_fetch_assoc($gotten);
$bytes = $row[data];
header(‘Content-disposition: attachment; filename=“thing.pdf”’);
Can someone please help with its equivalent in ionic.