jeffrey2022
jeffrey2022
  • 发布:2018-09-21 09:15
  • 更新:2018-09-21 12:18
  • 阅读:3085

ios审核被拒,WXApi.isWXAppInstalled返回有问题

分类:HBuilderX

ios被拒绝:问题原因是wechat和qq第三方登录提示问题
We were required to install the WeChat and QQ app before we could log in via WeChat and QQ. Users should be able to log in with WeChat and QQ and access their accounts without having to install any additional apps.

我想检测如果没有安装微信和qq就隐藏掉第三方登录按钮,但是问答里的各种方法都不行
var WXApi = plus.ios.import("WXApi");
return WXApi.isWXAppInstalled() 这里一直返回一个字符串,并附返回true或者false

我的版本:HBuilder 8.9.1.201712121728

2018-09-21 09:15 负责人:无 分享
已邀请:
DCloud_UNI_GSQ

DCloud_UNI_GSQ

  • jeffrey2022 (作者)

                        plus.oauth.getServices(function(services) {  
    for(var i in services) {
    var service = services[i];
    auths[service.id] = service;
    if(~authBtns.indexOf(service.id)) {
    var isInstalled = app.isInstalled(service.id);

    这里的isInstalled没有安装的情况下在ios中返回了一个字符串

    2018-09-21 15:03

DCloud_IOS_XTY

DCloud_IOS_XTY

请升级到最新版本

该问题目前已经被锁定, 无法添加新回复