Код: Выделить всё
• ASAuthorizationController (iOS 13+)
• ASAuthorizationPlatformPublicKeyCredentialProvider (iOS 15+)
Однако я пытаюсь четко понять поведение iOS 15, которая не поддерживает ключи доступа, и что происходит, когда пользователь позже обновляет свое устройство до iOS 16.
Код: Выделить всё
1. On iOS 15, where Passkeys are not available:
• Does ASAuthorizationPlatformPublicKeyCredentialProvider still work?
• What type of credential is actually being created or used (if any)?
• Is the authentication falling back to traditional Sign in with Apple / iCloud Keychain behavior?
2. If a user authenticates on iOS 15 and later updates the device to iOS 16:
• Will the user automatically start using Passkeys?
• Are any credentials created on iOS 15 eligible to be upgraded or reused as Passkeys on iOS 16?
• Or does Passkey enrollment only happen after explicitly authenticating again on iOS 16+?
3. From an implementation perspective:
• Is it safe to use the same authorization flow for iOS 15 and iOS 16+ and let the system decide?
• Or should Passkey-related logic be explicitly gated behind iOS 16+ availability checks?
ASAuthorizationController
ASAuthorizationPlatformPublicKeyCredentialProvider
ключи доступа
Подробнее здесь: https://stackoverflow.com/questions/798 ... tioncontro
Мобильная версия