universal_html icon indicating copy to clipboard operation
universal_html copied to clipboard

while create url through html.Url.createObjectUrlFromBlob(blob); throw error

Open laxkarparas1 opened this issue 3 years ago • 1 comments

[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: UnimplementedError E/flutter (30797): #0 Url.createObjectUrlFromBlob (package:universal_html/src/html/api/history.dart:175:5) E/flutter (30797): #1 _MyHomePageState.decryptFile (package:flutter_screenshot/main.dart:214:21) E/flutter (30797): E/flutter (30797): #2 _MyHomePageState.perfomEncryptionTasks (package:flutter_screenshot/main.dart:147:5) E/flutter (30797): E/flutter (30797):

i'm using this example

final blob = html.Blob([decryptedBytes]); url = await html.Url.createObjectUrlFromBlob(blob);

laxkarparas1 avatar Jun 04 '21 10:06 laxkarparas1

same here, found any solution @laxkarparas1 ??

chamile avatar Jun 29 '22 12:06 chamile

Hi! Thank you for the issue report! This package is not really meant for working with Blobs.

terrier989 avatar Mar 13 '23 07:03 terrier989