Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make it supported on web? #49

Open
ValentinVignal opened this issue Jan 9, 2024 · 1 comment
Open

Is it possible to make it supported on web? #49

ValentinVignal opened this issue Jan 9, 2024 · 1 comment

Comments

@ValentinVignal
Copy link

ValentinVignal commented Jan 9, 2024

I'm running my app on mobile platforms, but also on web. I get an empty map when using readExifFromBytes and it seems like it is not supported on web
image

@jarrodcolburn
Copy link

jarrodcolburn commented Nov 20, 2024

People are asking for this functionality in discord.

Is it possible to remove dependency on dart:io as in

import 'dart:io';

and replace File with XFile from package:cross_file. Similar to what was done in image_picker 1.0 migration.

Also remove dependency on legacy dart:html as in

import 'dart:html' as dart_html;

and replace FileReader with FileReader from package:web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants