Hi
I was testing my Html5 game protoyte, i tested it on desktop, then android but on iOS/iphone after the loading bar was completed it showed error and refreshed the page, after 8 hours of thinking and trying i noticed it was caused by a short length audio file (0.02 secs), after i replaced it with the same file but extra length (total length of 0.1 secs) the problem was solved!
I hope if anyone runs into this problem this will help!