breautek commented on PR #1323:
URL: https://github.com/apache/cordova-ios/pull/1323#issuecomment-1578858120

   > One thing that was mentioned on the Android minSDK bump was the Chrome 
version. We bumped to minSDK 24 and was mentioned that the Chrome version 
included in the Android image was 52, so we would stick to Chrome's 52 
features/support on the javascript side. Any idea if iOS 11 WebView supports 
same features as Chrome 52?
   > 
   > In example the eslint changes from latest `@cordova/eslint-config` made 
the code of [screen orientation 
plugin](https://github.com/apache/cordova-plugin-screen-orientation/pull/112) 
not compatible with old android versions just because it uses let/const instead 
of var. That doesn't seem an issue on iOS 11, but not sure if other rule 
changes could be not compatible with iOS 11.
   
   It is good point,
   
   ES6 (which includes stuff liek arrow functions, native promises, let/const, 
etc...) has good support since iOS 10, and since Chrome 51.
   
   Specific ES6 features like `let` keyword may show slightly different 
compatibility, for example [caniuse](https://caniuse.com/let) says it's only 
supported in iOS 11 (iOS 10 had a buggy version of it), and chrome supported it 
in Chrome 49, or 41 if strict mode was enabled.
   
   But overall, ES6 features should be pretty safe to use without any external 
tools, even if we keep iOS 11 as our minimum requirement.
   
   https://caniuse.com/?search=ES6


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to