# @mana/auth-mobile Reusable Mana Core authentication package for React Native mobile apps. ## Features - 🔐 Email/password authentication - 🔑 JWT token management with automatic refresh - 🌐 Google OAuth integration - 🍎 Apple Sign In support - 📱 Multi-device session support - 🎨 Fully customizable theming - 🌍 Internationalization support - 💾 Secure token storage - 🔄 Automatic token refresh with retry logic - 📊 Optional analytics integration ## Installation ```bash npm install @mana/auth-mobile ``` ### Peer Dependencies Make sure you have these installed: ```bash npm install react react-native expo expo-router @react-native-async-storage/async-storage @react-native-google-signin/google-signin expo-apple-authentication @expo/vector-icons @react-native-community/netinfo ``` ## Quick Start ### 1. Wrap your app with ManaAuthConfigProvider ```typescript import { ManaAuthConfigProvider } from '@mana/auth-mobile'; export default function App() { return ( ); } ``` ### 2. Use the authentication components ```typescript import { ManaAuthProvider, useManaAuth, ManaLoginScreen } from '@mana/auth-mobile'; function LoginScreen() { return ; } function ProtectedScreen() { const { user, signOut } = useManaAuth(); return ( Welcome {user?.name}!