You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
A clear and concise description of what the bug is.
Although a polyfill exists on the project a .startswith function is throwing a 'Syntax' error in IE 11, preventing the website from loading.
Polyfill for string.prototype.startswith is in the project and works for every other string.startswith.
Steps to Reproduce
Include AWS-Amplify / AWS-Amplify-Angular in Angular project and use one of the modules. It adds ionic/core dependency which has this function causing the issue. In my case I used AmplifyService.api().
This line is causing the break: .filter(entryText => entryText.startsWith('ionic:'))
Expected Behavior
Polyfill should work and website should load in IE11
Additional Context
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, screenshots, OS if applicable, etc.
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic Info
Describe the Bug
A clear and concise description of what the bug is.
Although a polyfill exists on the project a .startswith function is throwing a 'Syntax' error in IE 11, preventing the website from loading.
Polyfill for string.prototype.startswith is in the project and works for every other string.startswith.
Steps to Reproduce
Include AWS-Amplify / AWS-Amplify-Angular in Angular project and use one of the modules. It adds ionic/core dependency which has this function causing the issue. In my case I used AmplifyService.api().
Related Code
This line is causing the break: .filter(entryText => entryText.startsWith('ionic:'))
Expected Behavior
Polyfill should work and website should load in IE11
Additional Context
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, screenshots, OS if applicable, etc.
The text was updated successfully, but these errors were encountered: