feat(mobile): implement QR code scanner for wallet addresses

- Add expo-camera package for QR scanning
- Create QRScannerModal component with camera permission handling
- Integrate scanner into WalletScreen scan button
- Support substrate: and pezkuwi: URI formats with amount parameter
- Add address validation before opening send modal
- Configure camera permissions for iOS and Android in app.json
This commit is contained in:
2026-01-15 10:59:39 +03:00
parent 7c0f963dce
commit 1c86e3cf53
4 changed files with 510 additions and 4 deletions
+4 -1
View File
@@ -45,6 +45,7 @@
"@supabase/supabase-js": "^2.90.1",
"buffer": "^6.0.3",
"expo": "~54.0.23",
"expo-camera": "~17.0.10",
"expo-image-picker": "~17.0.10",
"expo-linear-gradient": "^15.0.7",
"expo-local-authentication": "^17.0.7",
@@ -113,7 +114,9 @@
"private": true,
"expo": {
"install": {
"exclude": ["@types/react"]
"exclude": [
"@types/react"
]
}
}
}