React Native 0.71 版本支持 #13148
Replies: 5 comments 1 reply
-
Taro Native Shell 升级至 0.71 测试对应分支 https://github.com/NervJS/taro-native-shell/tree/0.71.0 下载现有包进行验证 https://github.com/NervJS/taro-native-shell/releases/tag/v0.71.6-0 修改代码后
查看打包是否正常进行 https://github.com/NervJS/taro-native-shell/actions |
Beta Was this translation helpful? Give feedback.
-
Taro 主仓库升级至 0.71对应分支 https://github.com/NervJS/taro/tree/feat/react-native-71 包安装 3.6.5-canary.1 测试要点无 |
Beta Was this translation helpful? Give feedback.
-
Taro Project Template 升级至 0.71 测试对应分支 https://github.com/zhiqingchen/taro-project-templates/tree/v3.7
查看打包是否正常进行 https://github.com/NervJS/taro-native-shell/actions 参考分支 https://github.com/NervJS/taro-native-shell/tree/test/template-0.71-0 |
Beta Was this translation helpful? Give feedback.
-
React Native 0.70 使用 Taro 3.7旧版本从 3.6 升级到 3.7 或使用 Taro 3.6 初始化后,将 taro 相关版本升级到 3.7。需要做兼容。 方案一
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
概述
将默认的 RN 版本切换至 0.71,expo 版本切换至 48。
react navigation 升级到 7.x
参考Taro 3.6 版本支持 React Native 0.70
动机
React Native 0.71 版本已于 2023-1-12 正式发布。
Taro 将与 RN 社区保持同步,将默认的 RN 版本设置为 0.71。
使用案例
将 Taro 升级至最新版,将原生代码根据相关pr进行变更。
详细设计
依赖变更
todo
Taro 主仓库升级至 0.71
升级内容:
@types/react-native
及react-native
进行版本更新。Taro Native Shell 升级至 0.71
分支:https://github.com/NervJS/taro-native-shell/tree/0.71.0
参考 upgrade-helper
Taro Project Template 升级至 0.71
Taro Playground 升级至 0.71
分支:
https://github.com/wuba/taro-playground/tree/releases/v1.9.0
升级内容:
缺陷
替代选择
N/A
适配策略
常见问题
ffi 安装报错
ffi/ffi#814
expo-image-picker 安卓下编译报错
expo/expo#20908
需要将 targetSdkVersion、compileSdkVersion、buildToolsVersion 升级到33
The project is using an incompatible version (AGP 7.3.1) of the Android Gradle plugin. Latest supported version is AGP 7.2.0
AS 建议升级到 2022.2.1
编译时报 expo-modules-core 相关错误
将 package.json 中的 expo-modules-core 删除
Beta Was this translation helpful? Give feedback.
All reactions