# getAppIsInstalled
-获取手机是否安装某第三方app
# 调用方式
getAppIsInstalled(params)
1
返回 Promise,使用 then/catch 或 await 处理结果。
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
| app_name | String | Y | - | twitter/facebook/X |
# 接口调用示例
const param = {}
this.$bridge.getAppIsInstalled(param)
1
2
2
# 返回参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
| data | Object | Y | - | 0 已安装,1 未安装 |
# 接口返回示例
{
data:{0}// 0 已安装,1 未安装
}
1
2
3
2
3