# hasCheckGooglePlayServices
获取谷歌服务
# 请求参数
无
# 接口请求示例
nativeService.hasCheckGooglePlayServices()
# 返回参数
Prop | Type | Default | Description |
---|---|---|---|
-- | Promise | 获取值之后的回调 | |
-has_play_services | String | 'true'存在;'false'不存在 |
# 接口返回示例
nativeService.hasCheckGooglePlayServices().then(data => {
if (res.has_play_services === 'true') {
this.has_play_services = true;
} else {
this.has_play_services = false;
}
})