Problems with Application Loading on iOS After Switching Polyfill CDN
Recently, the Polyfill.io domain was acquired by Funnull, a Chinese company. This acquisition led to the domain being used to deliver malicious JavaScript code, which redirected users to scam, gambling, or other malicious sites.
To address this security concern, we updated our website to use a more secure CDN provided by Cloudflare. More information about this change can be found in Cloudflare's blog post.
However, this change has caused some of our users to experience issues with the application loading correctly, particularly iOS users on Safari and Chrome.
We are seeking assistance in diagnosing and resolving the loading issues experienced by our iOS users after this CDN switch. Any insights or recommendations would be greatly appreciated.
We have the same issue. On iOS versions 15 and before, using Chrome (latest version), loading the Array.prototype.toSorted polyfill from https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0 does not result in a polyfilled Array.prototype.toSorted. The function is still undefined after successfully loading the polyfill.
Any update on this? We are looking into switching build-time polyfilling to use cloudflares hosted solution but finding this while researching this makes me think it might not be a good idea.