I have included this snippet (https://docs.urbanairship.com/platform/web/#add-javascript-snippet-to-web-pages) provided in my SDK bundle in my root file, index.html of my single page application. Sometimes it works fine, but most of the time the app goes unresponsive throwing an error that a javascript code is making your browser slow. It seems like this code is going into infinite loop.
If i comment the below mentioned statement in the snippet, I don't face this issue.
t.head.appendChild(v)
Comments
1 comment