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

Support more data types #2

Closed
ABausG opened this issue Sep 29, 2020 · 6 comments
Closed

Support more data types #2

ABausG opened this issue Sep 29, 2020 · 6 comments

Comments

@ABausG
Copy link
Owner

ABausG commented Sep 29, 2020

No description provided.

@ABausG ABausG closed this as completed Oct 22, 2020
@aytunch
Copy link

aytunch commented Jun 17, 2021

@ABausG can we send Images from dart as Home widgets? Or are we limited with Strings and Urls?

@ABausG
Copy link
Owner Author

ABausG commented Jun 17, 2021

RAW Images are not possible. I guess you could play around with converting an image to a base64 string and use that to transport the data between your app and the widget

@aytunch
Copy link

aytunch commented Jun 18, 2021

I was thinking of converting an UI widget to an Image and send with your plugin. Do you think the performance would be OK if I convert the Image data to a base64 string and send it this way? An example would be superb if you ever have the time.
Thanks.

@adrianvintu
Copy link

@aytunch why not save the file locally in Dart and sent the string path to the Java/Swift code to load the file?

@aytunch
Copy link

aytunch commented Jan 24, 2022

@adrianvintu if that works, I think it could be much easier and performant than converting the image to base64. I hope this solution can be embedded to this plugin.

@adrianvintu
Copy link

@aytunch this has nothing to do with the plugin, this is something you need to code.

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

3 participants