feat: integrate NFC functionality for reading and writing tags

- Added NFCManagerRepository to handle NFC operations using react-native-nfc-manager.
- Implemented ReadNFCTagUseCase and WriteNFCTagUseCase for reading and writing NFC tags.
- Updated app layout to include NFC reader screen.
- Created WriteNFCScreen for writing NFC tags with filament data.
- Enhanced HomeScreen to support NFC reading and added NFC button in FilamentDetailScreen.
- Updated app.json to include react-native-nfc-manager dependency.
- Added animations and user feedback for NFC operations in the UI.
This commit is contained in:
2026-03-14 20:14:06 -03:00
parent 74adc35b53
commit 6a78cb41d8
15 changed files with 797 additions and 23 deletions
+1
View File
@@ -34,6 +34,7 @@
"react-hook-form": "^7.53.0",
"react-native": "0.81.5",
"react-native-gesture-handler": "~2.28.0",
"react-native-nfc-manager": "^3.17.2",
"react-native-qrcode-svg": "^6.3.0",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",