React Native v0.59.1编译出现的错误及解决方案

React Native发布 0.59.1,新建的工程编译运行 时候出现:



在3-25号,React Native 发布了[0.59.2]版本,解决上述问题。

This is a patch fix release addressing regressions, crashes, and a few developer-experience pain points. Thanks everyone who contributed code or participated in the discussion for cherry-picking commits.

Fixed

Android specific

Crash on pre-26 Android devices when setting TextInput content type (7263a77 by @hramos)

Crash when scroll to index 0 in a SectionList (699fad7 by @danilobuerger)

Switch's trackColor being reset when toggled (4260907 and becc154 by @dulmandakh and @ejanzer)

iOS specific

ScrollView offset out of content size (f6516d2 by @zhongwuzw)

RefreshControl state's race condition (6aca514 by @rostislav-simonik)

Start Metro packager from project root (392b084 by @MatthieuLemoine)

TextInputs that are single-line reverting to default text (a38dc73 by @PeteTheHeat)

Changed

Android specific

Add TLS 1.3 support to all Android versions using Conscrypt; to use this, you must add implementation('org.conscrypt:conscrypt-android:2.0.0') to build.gradle (fab86ee by @dulmandakh)

Turn off Metro JS Deltas by default for Android (3f1d2b0 by @PeteTheHeat)

你可能感兴趣的:(React Native v0.59.1编译出现的错误及解决方案)