在RN项目中使用第三方插件react-native-wechat
参考文档:https://github.com/weflex/rea...
按照官方文档配置完成后会在执行到应用注册时报错
compinentDidMount(){
WeChat.registerApp('应用ID');
}
错误如图所示:
在RN项目中使用第三方插件react-native-wechat
参考文档:https://github.com/weflex/rea...
按照官方文档配置完成后会在执行到应用注册时报错
compinentDidMount(){
WeChat.registerApp('应用ID');
}
错误如图所示:
registerApp(appid)
You should call this function in global, calling over twice would throw an error.
// If you register here
componentDidMount (){
wechat.registerApp('your appid')
}
{String} appid the appid you get from WeChat dashboard
returns {Promise}
填写回调的promise 看看
1 回答1.6k 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
2 回答1k 阅读
2 回答1k 阅读✓ 已解决
1 回答1.1k 阅读✓ 已解决
1 回答2.7k 阅读
2.3k 阅读
问题已经解决,具体请跳到下面链接
https://github.com/yorkie/rea...