跳过主要内容
Capacitor

Capgo新推出Capacitor社交登录插件

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

WcaleNieWolny

WcaleNieWolny

内容营销人员

Capgo新推出Capacitor社交登录插件

介绍

嘿,我是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:

  • The introduction of Login with Apple on Android
  • The adoption of the new Google Credentials API
  • The addition of detailed documentation

Login with Apple on Android

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

Apple Login流程图

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

Refreshed Google Login on Android

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

文档

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

示例后端 请自由查看Google 指南!

结论

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 对于 @capgo/capacitor-passkey 的实现细节 @capgo/capacitor-native-biometric 对于 @capgo/capacitor-native-biometric 的实现细节 双因素认证 双因素认证的实现细节 SSO (企业) 对于 SSO (企业) 的实现细节

Capacitor 应用的实时更新

当 web 层的 bug 活跃时,通过 Capgo 将修复推送到用户,而不是等待几天的 app store 审核。用户在后台接收更新,而原生变化仍然在正常的审查路径中。

立即开始

最新博客文章

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