ios - react-native-wechat出现undefined is not an object
本文介绍了ios - react-native-wechat出现undefined is not an object的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
在RN项目中使用第三方插件react-native-wechat
参考文档:https://github.com/weflex/rea...
按照官方文档配置完成后会在执行到应用注册时报错
compinentDidMount(){
WeChat.registerApp('应用ID');
}
错误如图所示:
希望知道'_reactNativeWechat2.default.registerApp'中_reactNativeWechat2是什么鬼?怎么解决?谢谢大家
解决方案
问题已经解决,具体请跳到下面链接
https://github.com/yorkie/rea...
这篇关于ios - react-native-wechat出现undefined is not an object的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文