Known issues
The below function can fix cases when String.replaceAll()
does not work in the mobile version. Most likely, this is some kind of WebView bug.
function replaceAll(str: string, search: string, replace: string) {
return str.split(search).join(replace);
}