taiful
taiful
  • 发布:2022-03-13 19:00
  • 更新:2022-07-13 07:21
  • 阅读:563

#插件讨论# 【 UDP-Socket原生插件(支持Android和IOS) - AimerQAQ 】 UDP无法使用

分类:uni-app

const UDPSocketTest = uni.requireNativePlugin('Aimer-UDPPlugin');
UDPSocketTest.connect( {
//charsetname:'GBK',//可不选,默认UTF-8,针对服务端数据的字符集格式转化
ip: '192.168.44.1',
port: '7110'
},

[Vue warn]: Error in onLoad hook: "TypeError: Cannot read property 'connect' of undefined"为什么会报这个错?

2022-03-13 19:00 负责人:无 分享
已邀请:
AimerQAQ

AimerQAQ - QAQ

这个属于没有打自定义基座,参考这个https://nativesupport.dcloud.net.cn/NativePlugin/use/use

要回复问题请先登录注册