-
Notifications
You must be signed in to change notification settings - Fork 27.4k
fix($parse): fix parse errors on older Android WebViews which choke with reserved keywords #11455
fix($parse): fix parse errors on older Android WebViews which choke with reserved keywords #11455
Conversation
…ith reserved keywords.
Hi, are you talking about WebView 2.3 (this would be a version I am not aware of), or Android 2.3? |
I mean the WebView on Android 2.3, which is the same as the Android Stock Browser. This is quite common behavior on legacy Android and very similar issues have already been fixed, e.g. #11051 |
@petebacondarwin do we officially support Android 2.3? Note: This does not mean that this will/will not be merged, and it is just to know what the expectations will be |
@lgalfaso at the moment we do not automatically test Angular 1 on any mobile devices. The most recent release of Android 2.3 was in 2011. I am not sure what our support is on this. Let's discuss it at the next team meeting. It would be helpful if anyone could point us in the direction of some usage statistics for Android versions... |
According to official Google Play data Android 2.3 still holds Believe me, I'd love to drop support for Android 2.3 in all my apps, it's a huge pain because it's really crappy and forces you to write workarounds for almost everything (e.g. doesn't support My two cents: supporting surely means a lot more for the Angular team than just "having Angular be parsed correctly" 😆 so perhaps you come to the conclusion to not officially support it like with IE8, but some small changes like the one on this PR can go a long way and not be a hassle to maintain. Thanks guys! |
Given that all of these are private methods, I just renamed them to |
Great, thanks! For posterity, I think you copied the wrong SHA: 10ae33b |
…ith reserved keywords Closes angular#11455
Older Android WebViews (2.3) can't handle calling methods named after reserved keywords such as
.if()
,.return()
,.default()
,.catch()
,.finally()
.