I have an Android app where I want to implement a feature where the users can upload SVGs, the SVG would then be saved in a firebase Realtime database, then other users can see it and interact with it, the reason why I chose SVGs over regular photos or PNGs is because it's very small and don't consume storage or data to load, plus they are better with multiple display densities and different screen ratios, the problem is that I don't know if that is doable if it is I don't know what is the format its gonna be saved as, because I had an idea of saving the SVG path but didn't find a way to convert it into a drawable/vector, or even how to get the path from an SVG, hopefully, I described my problem/question clearly(sorry my eng is bad)
- How to save SVG/vector in Firebase Realtime Database?
- How to turn it back to a drawable/ImageView/vector...anything that's displayable?
- Is there a better approach to this idea/problem?