跳过主要内容
Capacitor

Release of a brand new Capacitor Social Login plugin

The Capacitor Social Login plugin is a plugin that allows you to login with Google, Facebook and Apple on iOS, Android and Web.

文章贡献者

马丁·多纳迪尤

作者

瓦莱里亚

审阅者

乔丹

编辑

Release of a brand new Capacitor Social Login plugin

简介

嘿,我是 Michael (WcaleNieWolny) 👋,

After a month of hard (and a bit painful 🙃) work, I am pleased to announce the first release of the Capacitor Social Login. This plugin is designed to assist in handling both Google and Apple Login on iOS and Android. Furthermore, together with Martin, we have been working on some unique features that include:

  • Android 上的 Apple 登录
  • The adoption of the new Google Credentials API
  • 详细的文档

Android 上的 Apple 登录

First, let’s discuss the major innovation of ‘Login with Apple’ on Android. This was non-trivial, as Apple’s SDK doesn’t provide this functionality. I used 这个文章 作为我的参考点,但我稍微改变了一下以使其更安全。最终的流程如下:

Apple 登录流程图

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

刷新Google登录(Android)

接下来,我尝试在Android上实现Google登录。结果是 CodetrixStudio的CapacitorGoogleAuth 使用一个 即将被弃用的GMS库。由于GMS库被认为是过时的,我决定使用 凭证管理器。这简化了登录流程并消除了烦人的 错误 10 🎉

文档

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

Apple 和 Google 指南! 结论

综上所述,__CAPGO_KEEP_0__ 社交登录插件引入了许多新颖的功能,未来还将有更多的功能 🚀

继续从发布了一个全新的Capacitor 社交登录插件

继续从发布了一个全新的Capacitor 社交登录插件的发布

如果您正在使用 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 the implementation detail in @capgo/capacitor-native-biometric, 两因素身份验证 两因素身份验证的实现细节 SSO (企业) 为企业SSO(企业)实现细节。

Live updates for Capacitor apps

当Web层bug出现时,通过Capgo将修复推送,而不是等待几天的应用商店审批。用户在后台接收更新,而原生更改仍在正常审查路径中。

来自马丁的人性化支持

立即开始

最新博客文章

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