Skip to content
pubscout

sign_in_with_apple

8.2.0, released 3 months ago by aboutyou.com

Flutter bridge to initiate Sign in with Apple on iOS, macOS, Android, and Web.

Flutter FavoriteRock solid
$ flutter pub add sign_in_with_apple
Source repository

What it does

Provides methods and widgets to sign users in using their Apple ID across iOS, macOS, Android, and Web. Also includes support for retrieving and managing keychain entries.

AI-written summary of version 8.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to implement Sign in with Apple authentication in your Flutter application.
  • Your app targets iOS, macOS, Android, and Web platforms.

Skip it when

  • You do not have a paid membership to the Apple Developer Program (required for Sign in with Apple).
  • You only need standard email/password or other social providers and do not require Apple authentication.

Strengths

  • Supports multiple platforms including iOS, macOS, Android, and Web.
  • Includes ready-to-use widgets like SignInWithAppleButton.
  • Supports keychain credential retrieval.

Weaknesses

  • Requires a paid Apple Developer Program membership and extensive server-side integration for verification.
  • Android and Web setups require additional configuration (Service IDs, custom schemes, script tags).

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
3

Requires Apple Developer account setup (App ID, Service ID, cryptographic keys), configuring native capabilities in Xcode for iOS/macOS, adding a custom activity intent filter in AndroidManifest.xml for Android, and adding the Apple JS script tag for Web.

SignInWithAppleButton(
  onPressed: () async {
    final credential = await SignInWithApple.getAppleIDCredential(
      scopes: [
        AppleIDAuthorizationScopes.email,
        AppleIDAuthorizationScopes.fullName,
      ],
    );
    print(credential);
  },
)

Alternatives

Packages that do the same job and could replace sign_in_with_apple.

  • firebase_auth

    Choose firebase_auth if you want a complete hosted backend solution that also supports Apple sign-in alongside other authentication providers.

Works with

Packages commonly used together with sign_in_with_apple: ones it builds on, ones built on it, and its own family.