- 
                Notifications
    
You must be signed in to change notification settings  - Fork 4.9k
 
Open
Labels
F-reactFramework - ReactFramework - ReactT-rnTarget - 编译到 React NativeTarget - 编译到 React NativeV-3Version - 3.xVersion - 3.xbugSomething isn't workingSomething isn't working
Description
请先确认
- 我已搜索并确定这个提交不是重复的
 
Taro 版本
v3
相关领域
None
使用框架
React
相关平台
- 所有平台
 - Web 端(H5)
 - 移动端(React-Native)
 - 鸿蒙(Harmony)
 - 鸿蒙容器(Harmony Hybrid)
 - ASCF 元服务
 - 快应用(QuickApp)
 - 所有小程序
 - 微信小程序
 - 企业微信小程序
 - 京东小程序
 - 百度小程序
 - 支付宝小程序
 - 支付宝 IOT 小程序
 - 头条小程序
 - QQ 小程序
 - 钉钉小程序
 - 飞书小程序
 - 快手小程序
 
小程序基础库版本
No response
问题描述
Google 提出Andorid 需要适配支持 16 KB 的页面大小,React Native 官方在0.77版本增加了这个适配(https://reactnative.dev/blog/2025/01/21/version-0.77),目前Taro 适配的React Native版本是0.70,使用现在项目中Taro 所导出的React Native bundle 运行会报错,Taro 是否有适配React Native 0.77+的版本。
复现链接
https://reactnative.dev/blog/2025/01/21/version-0.77
复现步骤
1.在使用了React Native 0.79版本的项目中运行Taro的Bundle
2.进入Taro 页面报错
环境信息
"dependencies": {
    "@babel/runtime": "^7.7.7",
    "@shangri-la/footer": "^0.2.4",
    "@shangri-la/header": "^0.1.25-harmony.3",
    "@shangri-la/platform-adapter-utils": "^0.1.19-beta.19",
    "@shangri-la/taro-components": "0.0.1-beta.4",
    "@tarojs/components": "3.6.8",
    "@tarojs/helper": "3.6.8",
    "@tarojs/plugin-framework-react": "3.6.8",
    "@tarojs/plugin-platform-alipay": "3.6.8",
    "@tarojs/plugin-platform-h5": "3.6.8",
    "@tarojs/plugin-platform-jd": "3.6.8",
    "@tarojs/plugin-platform-qq": "3.6.8",
    "@tarojs/plugin-platform-swan": "3.6.8",
    "@tarojs/plugin-platform-tt": "3.6.8",
    "@tarojs/plugin-platform-weapp": "3.6.8",
    "@tarojs/react": "3.6.8",
    "@tarojs/rn-runner": "3.6.8",
    "@tarojs/rn-supporter": "3.6.8",
    "@tarojs/runtime": "3.6.8",
    "@tarojs/runtime-rn": "3.6.8",
    "@tarojs/shared": "3.6.8",
    "@tarojs/taro": "3.6.8",
    "@tarojs/taro-rn": "3.6.8",
    "@tarojs/webpack5-runner": "3.6.8",
    "deprecated-react-native-prop-types": "3.0.0",
    "dva-core": "^2.0.4",
    "expo": "~47.0.3",
    "i18next": "^25.1.1",
    "react": "^18.1.0",
    "react-dom": "^18.1.0",
    "react-native": "0.70.7",
    "react-native-linear-gradient": "^2.8.3",
    "react-native-markdown-display": "^7.0.2",
    "react-native-render-html": "^6.3.4",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-status-bar-height": "^2.6.0",
    "react-redux": "^9.2.0",
    "redux": "^5.0.1",
    "redux-logger": "^3.0.6",
    "text-encoding-shim": "^1.0.5"
  }开源贡献
- 我愿意修复这个错误。请参考 (贡献指南)
 
100001 and atzcl
Metadata
Metadata
Assignees
Labels
F-reactFramework - ReactFramework - ReactT-rnTarget - 编译到 React NativeTarget - 编译到 React NativeV-3Version - 3.xVersion - 3.xbugSomething isn't workingSomething isn't working