mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 14:18:23 +00:00
Summary: Running *lint* on RN found that there are some Java 8 features used without specifying Java 8 compatibility in projects. This PR adds Java 8 compatibility and fixes errors caused by Java 8 feature use. I suspend that it may be cause of many failures on older Androids, but also found that many modules/packages switched to and require Java 8. ```java ../../src/main/java/com/facebook/react/devsupport/BundleDownloader.java:167: Try-with-resources requires API level 19 (current min is 16) ../../src/main/java/com/facebook/react/devsupport/DevServerHelper.java:658: Try-with-resources requires API level 19 (current min is 16) ``` For more information https://developer.android.com/studio/write/java8-support [Android] [Changed] - Enable Java 8 Pull Request resolved: https://github.com/facebook/react-native/pull/23295 Differential Revision: D13959096 Pulled By: cpojer fbshipit-source-id: 0bfd0565b61a132906cf35ee55b4afcf5450f7cb