React Native Credentials Manager
A React Native library that implements the Credential Manager API for Android and Authentication Services for iOS. This library allows you to manage passwords, passkeys, and platform-specific sign-in methods (Google Sign-In on Android, Apple Sign In on iOS) in your React Native applications.
Platform Support
- ✅ Android: Full implementation with Credential Manager API (Android 14+ / API 34+)
- ✅ iOS: Full implementation with Authentication Services (iOS 16.0+)
Platform-Specific Features
Feature | Android | iOS |
---|---|---|
Passkeys | ✅ Credential Manager API | ✅ Authentication Services |
AutoFill Password Support | ✅ Credential Manager API | ✅ Authentication Services |
Manual Password Storage | ✅ Credential Manager API | ❌ Not supported (iOS limitation) |
Third-party Sign In | ✅ Google Sign In | ✅ Apple Sign In |
Features
- ✨ Passkey Authentication: Implement secure passwordless authentication across both platforms
- 🔐 Password Credential Management: Leverage platform password managers for secure sign-in
- 📱 Platform Sign-In Integration: Google Sign-In on Android, Apple Sign In on iOS
- 🔄 Cross-Platform Compatibility: Unified API that handles platform differences automatically
- 📋 Type-Safe Implementation: Full TypeScript support with comprehensive type definitions
Use Cases
- Modern authentication solutions for React Native apps
- Passwordless login with biometric verification
- Cross-platform authentication with a single codebase
- Seamless integration with platform authentication standards
- Migration from password-based to passkey-based authentication
Learning Resources
For more detailed information about the underlying APIs, refer to:
- Android Credential Manager Overview
- Android Credential Manager API Reference
- iOS Authentication Services Documentation
- WebAuthn Developer Guide
- Passkeys Overview
Roadmap
Old Architecture Support✅iOS Support using Authentication Services✅- Additional Authentication Methods
- Comprehensive Documentation
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT