ChenYilong / ChenYilong/iOS13AdaptationTips

Sign in with Apple

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
note
Dominant language
No language data
Stars
170
Forks
5
PR merge metrics
No merged PRs in 30d

Description

## Action

[**Updates to the App Store Review Guidelines-June 3, 2019**]( https://developer.apple.com/news/?id=06032019j )

> Sign In with Apple will be available for beta testing this summer. It will be required as an option for users in apps that support third-party sign-in when it is commercially available later this year.

适配 deadline: late of this year。

如果 APP 支持三方登陆(Facbook、Google、微信、QQ、支付宝等),就必须支持苹果登,且要放前边。

对于非iOS平台,Web、Android 可以使用 JS SDK,网页版本登录,逻辑类似、Facebook、QQ登录。

建议支持使用Apple提供的按钮样式,已经适配各类设备。

## 分析

许多 APP 用户选择使用 Facbook、Google、微信、QQ、支付宝等账户登录到独立的应用程序,因为这省去了为数十个不同的应用程序创建和记住不同用户名和密码的麻烦。但登录按钮可以将用户使用应用程序习惯的一些数据发回给它们的开发者。

但这个策略,可能在国内效果并不会太好,因为国内强制备案手机号,APP一旦获知手机号后,隐私基本已经没有任何保证。目前唯一能缓解的问题,就是防止类似“多闪APP”收集用户微信登录用户的头像、昵称这类的事情发生。

## 点评

这一项操作,iOS 迁移到 Android 的成本增加,迁移过去账户后都没了。

说些题外话,WWDC19里,iPadOS—>macOS 代码复用,干倒微软,
Apple login干倒Facebook,Android。基于iOS的用户基数,最忠实的开发者,盘活整个Apple生态,下得一盘好大的棋,打得一手好算盘。

天下大势分久必合,之前移动支付百花齐放,最后 Apple 搞了Apple Pay,信用卡多种多样,最后Apple搞了Apple Card,音乐播放器各式各样,最后Apple搞了Apple Music。社区内跨平台方案百家争鸣,苹果最后推出了SwiftUI。

参考:

- [《苹果:“Sign In with Apple” 按钮必须放在最上面》]( https://www.macx.cn/thread-2223285-1-1.html)

## Other

Apple 第三方登录,我觉得是在疯狂打Facebook脸。

![](http://ww1.sinaimg.cn/large/006tNc79ly1g3onf7owd7j31hc0u0qv5.jpg)

![](http://ww4.sinaimg.cn/large/006tNc79ly1g3on3uq7evj30u01a4dhm.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reviewing the linked Apple guidelines and identifying where this repository documents or implements third-party sign-in; done means the required Sign in with Apple support and button placement are covered for the applicable platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
authentication, mobile-dev, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.