跳过主要内容
Capacitor

Capacitor 社会登录插件的发布

Capacitor 社会登录插件是一款允许您使用 Google、Facebook 和 Apple 登录 iOS、Android 和 Web 的插件。

WcaleNieWolny

WcaleNieWolny

内容营销人员

Capacitor 社会登录插件的发布

介绍

嘿,我是 Michael (WcaleNieWolny) 👋,

经过一个月的辛苦(和有点痛苦 🙃)工作,我很高兴地宣布 Capacitor 社会登录插件的首次发布。这款插件旨在帮助处理 iOS 和 Android 上的 Google 和 Apple 登录。此外,和 Martin 一起,我们已经在开发一些独特的功能,包括:

  • 在 Android 上引入 Apple 登录
  • 采用新的 Google 凭证 API
  • The addition of detailed documentation

Android设备上使用Apple登录

首先,让我们讨论Android上的‘Apple登录’的主要创新。这是一个非平凡的任务,因为Apple的SDK没有提供此功能。 我参考了这篇文章 但我稍微修改了一下,以使其更加安全。最终的流程如下:

Apple登录流程图

遗憾的是,它需要一个后端和对应用程序code的修改,但这是我能做的最好的事情了。

Refreshed Google Login on Android

接下来,我尝试在Android上实现Google登录。结果发现 CodetrixStudio的CapacitorGoogleAuth 使用即将被弃用的GMS库 uses a. 由于该GMS库被认为是过时的,我决定使用 CredentialManager。这简化了登录流程并消除了烦人的 error 10 🎉

文档

最后,我写了些令人惊艳的✨文档。 我花了很多时间确保文档准确且详尽。 文档包括了关于设置Apple和Google的详细指南。 我还提供了一个 示例后端 用于Apple登录🍎

欢迎查看 AppleGoogle 指南!

结论

In conclusion, the Capacitor Social Login plugin introduces a lot of new and exciting features with more to come in the future 🚀

Keep going from Release of a brand new Capacitor Social Login plugin

如果您正在使用 Release of a brand new Capacitor Social Login plugin 来规划身份验证和帐户流程,连接它 @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-passkey, @capgo/capacitor-native-biometric For capgo and capacitor native-biometric 的实现细节 双因素认证 对于双因素认证的实现细节 企业 SSO 对于企业 SSO 的实现细节

Capacitor 应用的实时更新

当 web 层 bug 活跃时,通过 Capgo 发布修复,而不是等待几天的应用商店审批。用户在后台接收更新,而本机更改仍在正常审批路径中。

立即开始

博客最新文章

Capgo 为您提供创建真正专业的移动应用所需的最佳见解。