Skip to main content

Platform differences

MethodiOSAndroid
isSupported()truefalse
signIn(options?)Shows Apple's sheet through AuthenticationServicesRejects with NOT_SUPPORTED
getCredentialState(userId)Asks ASAuthorizationAppleIDProviderRejects with NOT_SUPPORTED

iOS​

  • Requires iOS 16 or newer.
  • No third-party SDK: the Swift implementation uses AuthenticationServices and CryptoKit (for the nonce hash).
  • The sheet and its callbacks run on the main thread.

Android​

Apple has no native Sign in with Apple on Android. The Kotlin implementation exists so the same JavaScript runs on both platforms: isSupported() returns false and the other methods reject with NOT_SUPPORTED.

if (AppleSignIn.isSupported()) {
// render the Sign in with Apple button
}