第三方被拒---没有安装微信客户端_篱下悠然_新浪博客


第一次被拒:第三方登录是用的ShareSDK,没有做"对于没有安装微信的处理",点击微信登录后的界面是ShareSDK的固有H5页面


Design - 4.2.3 We were required to install the Wechat apps before we can log-in via Wechat. The user should be able to log-in and access their account, without requiring additional applications to be installed. Next Steps If you choose to allow users to log-in via Wechat, please use methods that can authenticate users from within your app, such as a native web-view.

第二次被拒:在未安装微信时,点击微信登录的按钮提示微信没有安装,有一个按钮是"确定",点击确定什么都不干
苹果给发的邮件是:

Guideline 4.2.3 - We were required to install the WeChat app before we could log in via WeChat. Users should be able to log in with WeChat and access their accounts without having to install any additional apps.

Next Steps

If you would like to offer authentication through WeChat, please use a mechanism that allows users to log in with WeChat from within your app without first having to install an additional app.

We recommend implementing the Safari View Controller API to display web content within your app. The Safari View Controller allows the display of a URL and inspection of the certificate from an embedded browser in an app so that customers can verify the webpage URL and SSL certificate to confirm they are entering their sign in credentials into a legitimate page.

Resources

For additional information on the Safari View Controller API, please review the What's New in Safari webpage.

第三次被拒:把未安装微信时,微信登录的按钮做成不可点击的灰置.结果就是迎来了第三次被拒.
苹果给发的邮件是:

Design - 4.2.3
    We were required to install WeChat before we could
 use your app. Apps should be able to run on 
 launch, without requiring additional applications 
 to be installed.
Next Steps
    Please revise your app to ensure that users can use
 it upon launch. If your app requires 
 authentication before use, please use methods that 
 can authenticate users from within your app.




解决方案:未安装微信时隐藏微信登录图标

另外附上如何判断微信有没有安装的API


   if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"weixin://"]]) {
}


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值