Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70972

@capacitor/browser crashes app when opening blob url on android

$
0
0

Calling web url works fine
Browser.open({ url: ‘https://www.example.com’ });
but

  const htmlContent = `
     <html>
    <body>
      <h1>Hello World</h1>
    </body>
  </html>
    `;
 const blob = new Blob([htmlContent], { type: 'text/html' });
 const url = URL.createObjectURL(blob);
 Browser.open({ url });

crashes the app

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 70972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>