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.
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 >>
- Configure your app in Xcode to add the "Sign In with Apple" capability
- See the example app to see how the API works
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:
- Sign in to https://appleid.apple.com/account/manage
- Go to "Apps & Websites Using Apple ID" and click "Manage"
- Select your app
- Click "Stop Using Apple ID"
Sign In with Apple requires Xcode 11, as it requires the iOS 13 SDK. Make sure you're up-to-date.
- Support for PasswordProvider