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

SVGs don't show #80

Open
nine-2-five opened this issue Sep 28, 2024 · 3 comments
Open

SVGs don't show #80

nine-2-five opened this issue Sep 28, 2024 · 3 comments

Comments

@nine-2-five
Copy link

SVG files are not rendered in HybridWebView, however inline SVG does show, Maybe they don't show because of this:

image
@rafaeldailymartins
Copy link

same problem here, did you find out how to fix it?

@nine-2-five
Copy link
Author

No, we went with Base64 strings for SVGs.

@Eilon
Copy link
Owner

Eilon commented Nov 4, 2024

The MIME type for SVG is currently not supported in this prototype. When I update the code to be based on what's in .NET MAUI then it'll support pretty much all the common MIME types. So for now the Base64 solution is probably the only way.

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