更新记录
1.0.6(2025-02-25)
下载此版本
修复bug
1.0.5(2025-02-25)
下载此版本
修复点击事件传参
1.0.4(2025-02-25)
下载此版本
新增点击回调
查看更多
平台兼容性
App |
快应用 |
微信小程序 |
支付宝小程序 |
百度小程序 |
字节小程序 |
QQ小程序 |
HBuilderX 3.6.8,Android:不确定,iOS:15,HarmonyNext:不确定 |
× |
× |
× |
× |
× |
× |
钉钉小程序 |
快手小程序 |
飞书小程序 |
京东小程序 |
鸿蒙元服务 |
× |
× |
× |
× |
× |
H5-Safari |
Android Browser |
微信浏览器(Android) |
QQ浏览器(Android) |
Chrome |
IE |
Edge |
Firefox |
PC-Safari |
× |
× |
× |
× |
× |
× |
× |
× |
× |
import { startGTSDK,setLister,getClientId } from 'uni_modules/GetuiSdk';
startGTSDK({appId:"xxx",
appKey:"xxx",
appSecret:"xxx"},
(isSuccss,msg)=>{
//isSuccss是否成功
//成功过后就可以设置监听
setLister((res) => {
//res.type == click 点击
//res.type == recive 透传
});
//获取clientid
getClientId((clientId)=>{
},(errorMsg)=> {
})
})