Add PIN and Biometric Protection#18
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-authored-by: NateIsern <6519685+NateIsern@users.noreply.github.com>
Co-authored-by: NateIsern <6519685+NateIsern@users.noreply.github.com>
Co-authored-by: NateIsern <6519685+NateIsern@users.noreply.github.com>
|
SyntaxError: SyntaxError: /vercel/path0/contexts/AuthContext.tsx: Identifier 'setLockTimeout' has already been declared. |
Co-authored-by: NateIsern <6519685+NateIsern@users.noreply.github.com>
Fixed the SyntaxError by renaming the function to |
|
Now nothing is loading now, i mean now all is completely white |
Co-authored-by: NateIsern <6519685+NateIsern@users.noreply.github.com>
Fixed the blank white screen issue. Found two problems: (1) a duplicate |
|
Error setting up PIN: TypeError: n.default.setValueWithKeyAsync is not a function |
Fixed the error when setting up PIN. The issue was caused by a function name mismatch in security.tsx, which was still using |
|
Error setting up PIN: TypeError: n.default.setValueWithKeyAsync is not a function |
Co-authored-by: NateIsern <6519685+NateIsern@users.noreply.github.com>
Fixed the issue with PIN setup by properly configuring the expo-secure-store plugin in app.json and reinstalling the package. The error occurred because the SecureStore module wasn't being properly configured in the Expo project. See commit b28e017. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Feature Implementation
This PR adds app-level security features:
Implementation Details
New Components
AuthContext: Manages authentication state and provides methods for authenticationPINPad: Reusable component for PIN entry with biometric optionAuthModal: Shows authentication screen when app is lockedSecurity Screen: Configuration UI for security settingsModified Components
_layout.tsx: Added AuthContext provider and app lock monitoringsettings.tsx: Added security option in settingsSafeAreaHeader.tsx: Added back button supporti18n/index.ts: Added translations for security-related stringsSecurity Features
Screenshots
(Screenshots would be here in a real PR)
Fixes #6.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn.fwupd.org/usr/bin/fwupdmgr refresh(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.