Home
Softono
react-native-credentials-manager

react-native-credentials-manager

Open source MIT Kotlin
93
Stars
4
Forks
2
Issues
2
Watchers
7 months
Last Commit

About react-native-credentials-manager

React Native Credentials Manager is a library for React Native that implements Credential Manager API on Android and Authentication Services on iOS. It enables developers to manage passwords, passkeys, and platform-specific sign-in flows including Google Sign-In on Android and Apple Sign In on iOS within their React Native applications. On Android, the library supports devices running API 19 and above with username and password storage plus federated Google sign-in, while devices on Android 9 and above gain full passkey support through the FIDO2 and WebAuthn standards. On iOS, it requires iOS 16 or later and uses the AuthenticationServices framework to deliver passkey support, AutoFill password assistance, and native Apple Sign In. Key features include passkey creation and authentication, AutoFill password support across both platforms, manual password storage on Android, and third-party sign-in integration with Google on Android and Apple on iOS. Manual password storage is not available on iOS due to platfor

Platforms

Web Self-hosted Android

Languages

Kotlin

React Native Credentials Manager

App Screens

A React Native library that implements the Credential Manager API for Android and AuthenticationServices for iOS. This library allows you to manage passwords, passkeys and platform-specific sign-in (Google Sign-In on Android, Apple Sign In on iOS) in your React Native applications.

npm version

Platform Support

  • Android: Implementation with Credential Manager API (Android 4.4+ / API 19+)
    • Android 4.4+ (API 19+): Username/password storage and federated sign-in (Google Sign-In)
    • Android 9+ (API 28+): Full passkey (FIDO2/WebAuthn) support
  • iOS: Full implementation with AuthenticationServices (iOS 16.0+)

Platform-Specific Features

Feature Android iOS
Passkeys ✅ Credential Manager API ✅ AuthenticationServices
AutoFill Password Support ✅ Credential Manager API ✅ AuthenticationServices
Manual Password Storage ✅ Credential Manager API ❌ Not supported (iOS limitation)
Third-party Sign In ✅ Google Sign In ✅ Apple Sign In

[!IMPORTANT] 📚 Documentation has moved! The complete documentation is now available at https://docs.benjamineruvieru.com/docs/react-native-credentials-manager/

[!NOTE] > iOS Implementation: This library strictly follows Apple's Authentication Services framework. Manual password storage is not supported on iOS as it's not part of Apple's official Authentication Services APIs. Use AutoFill passwords instead.

[!NOTE] > Android Implementation: Features are available based on Android version:

  • API 19+: Basic credential storage and Google Sign-In
  • API 28+: Passkey support added