I have found the problem and a solution myself.
Problem: svg files are not shown correctly in a mobile app when using a relative src path
Solution: provide the absolute path for the src of the svg file. A little bit a javascript was needed to alter the src so it worked correctly for all the environments