HarmonyOS react-native-view-shot使用
用的react-native-oh-tpl-react-native-view-shot-3.8.0-0.2.0.tgz这个版本。使用react-native-view-shot库的截图功能报错,无论使用vsRef.current?.capture()或者使用captureRef(vsRef),都报如下错误:
{"message": "componentSnapshot failed, message = undefined"}
HarmonyOS
赞
收藏 0
回答 1
待解决
相关问题
HarmonyOS RN中使用react-native-view-shot报错
956浏览 • 1回复 待解决
HarmonyOS @react-native-oh-tpl/react-native-view-shot增量包权限问题
1187浏览 • 1回复 待解决
HarmonyOS react-native-pager-view安装失败
1293浏览 • 1回复 待解决
HarmonyOS react-native-popover-view HarmonyOS适配库无法正常使用
847浏览 • 1回复 待解决
HarmonyOS react-native-keyboard-aware-scroll-view组件无效
790浏览 • 1回复 待解决
HarmonyOS react-native-scrollable-tab-view三方库是否已支持?
1136浏览 • 1回复 待解决
HarmonyOS 适配 React native
1607浏览 • 1回复 待解决
HarmonyOS react-native-cameraroll的使用问题
830浏览 • 1回复 待解决
HarmonyOS 无法安装@react-native-oh-tpl/react-native-reanimated
2024浏览 • 1回复 待解决
HarmonyOS 集成@react-native-oh-tpl/react-native-spinkit报错
1570浏览 • 1回复 待解决
HarmonyOS react-native-image-crop-picker使用问题
1124浏览 • 1回复 待解决
HarmonyOS react-native-svg(CAPI)使用报错
1167浏览 • 1回复 待解决
HarmonyOS 使用react-native中的Image问题
982浏览 • 1回复 待解决
HarmonyOS react-native工程使用yarn install报错
1120浏览 • 1回复 待解决
HarmonyOS react-native-device-info使用报错
912浏览 • 1回复 待解决
HarmonyOS RN侧使用react-native-permissions问题
927浏览 • 1回复 待解决
HarmonyOS 集成@react-native-oh-tpl/react-native-pdf后App Crash
1295浏览 • 1回复 待解决
HarmonyOS React Native三方库需要适配@react-native-community/art
1240浏览 • 1回复 待解决
HarmonyOS @react-native-oh-tpl/react-native-reanimated 引入编译出错
1242浏览 • 1回复 待解决
HarmonyOS 咨询React Native适配情况
1303浏览 • 1回复 待解决
HarmonyOS react-native-device-info
913浏览 • 1回复 待解决
尝试将harmony/react_native_openharmony/src/main/cpp/RNOH/CppComponentInstance.h中的:
修改为: