パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.1.1

the_apple_sign_in

Flutter用のAppleログイン。ネイティブAPIバインディングと、ログインボタンのFlutter実装。

iOS
30日間ダウンロード
9410
いいね数
67
Pub ポイント
140

パッケージをインストール

flutter pub add the_apple_sign_in

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

The_apple_sign_in は、Apple の「Apple でサインイン」サービス用のネイティブ API バインディングを提供する Flutter パッケージであり、iOS でのスムーズな認証を可能にします。公式のログインボタンの Flutter 実装を含み、Apple デバイス間で UI と動作の一貫性を確保しています。このパッケージは、Apple のセキュアな認証システムとの統合を簡素化し、匿名アカウントの作成やプライバシー保護されたメール処理などの機能をサポートしています。iOS 専用に設計されており、プラットフォーム固有の機能を活用してネイティブ体験を提供します。

用途

  • iOSアプリ認証
  • プライバシーを重視したログインフロー
  • 匿名ユーザー登録
  • Apple IDとの統合
  • App Storeガイドラインへの準拠

主な機能

  • ネイティブな Apple サインイン API アクセス
  • Flutter互換のログインボタン
  • プライベートメールリレーのサポート
  • セキュアな資格情報の取り扱い
  • iOS専用プラットフォームサポート

適している対象

  • iOS専用アプリケーション
  • Apple Sign In を必要とするアプリ
  • ユーザーのプライバシーを最優先する開発者
  • App Store準拠が必要なプロジェクト
  • 最小限のサードパーティ認証を使用するアプリ

注意事項

  • iOSプラットフォームに限定
  • Apple Developerアカウントが必要です
  • iOSシステムの権限に依存します
  • Android対応なし
  • Appleの認証ポリシーに準拠する必要があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

The Apple Sign In - Flutter Plugin

NB! the_apple_sign_in is the revisited and updated version of flutter_apple_sign_in by Tom Gilder (which is not maintained anymore...). Thus, the_apple_sign_in will be maintained and updated by beerstorm

Before beginning, read related docs about Sign In with Apple.

Platform support

This plugin currently supports only iOS platform. If needed, there's a JavaScript framework for Android.

NB! I recommend using iOS 13.x emulators, because iOS 14.x emulators have issues with Apple SignIn. see details from Apple forum >>

Implementing

  1. Configure your app in Xcode to add the "Sign In with Apple" capability
  2. See the example app to see how the API works

FAQs

User information is null after signing in

User details such as email and name are only provided the first time a user signs in to your app with Sign in With Apple. This isn't a limitation of the plugin, it's how the native SDK functions.

On signing in again, all the properties are null. You need to store them the first time you login.

For testing purposes you can revoke the credentials to sign in again:

  1. Sign in to https://appleid.apple.com/account/manage
  2. Go to "Apps & Websites Using Apple ID" and click "Manage"
  3. Select your app
  4. Click "Stop Using Apple ID"
I'm getting errors when trying to build the project

Sign In with Apple requires Xcode 11, as it requires the iOS 13 SDK. Make sure you're up-to-date.

To Do

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト