isAvailable abstract method

Future<bool> isAvailable()

Returns whether Sign in with Apple is available on the current platform.

If this returns true, getAppleIDCredential will not throw a SignInWithAppleNotSupportedException when called.

Sign in with Apple is available on:

  • iOS 13 and higher
  • macOS 10.15 and higher
  • Android
  • Web

In case Sign in with Apple is not available, the returned Future completes with false.

Implementation

Future<bool> isAvailable();