I am using Angular and I am doing a Mobile App where I am including a spinner which is a loader, is an SVG, the thing here: that SVG is not been displayed on some Android versions, in iPhone, works great, but not in Android, so what I want to do: detect the OS and depending on that display the SVG or just an image that I have in my project.
this is the SVG
<div>{{spinnerTitle}}</div>
<svg class="spinner" width="60px" height="80px"
viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg">
<circle class="path" fill="none"
stroke-width="6" stroke-linecap="round"
cx="33" cy="33" r="30">
</circle>
</svg>
so what do you recommend ?