How kunalsambyal/safevault-passwordmanager works
This is an Expo/React Native SafeVault scaffold. Its visible runtime currently registers a placeholder screen; the sampled data layer provisions SQLite tables and exposes vault-metadata operations, while a credentials repository is present in the tree but unsampled. No README documents broader user workflows, and the excerpts show no credential UI, encryption flow, or vault-unlock orchestration, so those relationships are not inferred.
Main entry points: connection.ts Database connection · metadataRepository.ts Vault metadata · index.ts Expo entry · App.tsx Placeholder screen
Components 11
Mobile app
- Expo entry
app/index.ts - Placeholder screen
app/App.tsx
Vault storage
- Database connection
app/src/db/connection.ts - SQLite schema
app/src/db/schema.ts - Vault metadata
app/src/db/metadataRepository.ts - Credential repository
app/src/db/credentialsRepository.ts - Database types
app/src/types/database.ts
Platform security
- Secure window flag
app/plugins/withFlagSecure.js
Other components
- User
- Expo SQLite
- Local SQLite file
Connections 8
- User → Expo entry: opens app
app/index.ts - Expo entry → Placeholder screen: registers
app/index.ts - Database connection → Expo SQLite: opens database
app/src/db/connection.ts - Database connection → SQLite schema: executes schema
app/src/db/connection.ts - Database connection → Local SQLite file: initializes
app/src/db/connection.ts - Vault metadata → Database connection: gets database
app/src/db/metadataRepository.ts - Vault metadata → Local SQLite file: reads and writes metadata
app/src/db/metadataRepository.ts - Vault metadata → Database types: uses metadata type
app/src/db/metadataRepository.ts