mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-13 21:31:01 +00:00
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:
+14
-2
@@ -13,7 +13,10 @@
|
||||
"backgroundColor": "#ffffff"
|
||||
},
|
||||
"ios": {
|
||||
"supportsTablet": true
|
||||
"supportsTablet": true,
|
||||
"infoPlist": {
|
||||
"NSCameraUsageDescription": "Pezkuwi needs camera access to scan QR codes for wallet addresses and payments."
|
||||
}
|
||||
},
|
||||
"android": {
|
||||
"package": "io.pezkuwichain.wallet",
|
||||
@@ -22,8 +25,17 @@
|
||||
"backgroundColor": "#ffffff"
|
||||
},
|
||||
"edgeToEdgeEnabled": true,
|
||||
"predictiveBackGestureEnabled": false
|
||||
"predictiveBackGestureEnabled": false,
|
||||
"permissions": ["android.permission.CAMERA"]
|
||||
},
|
||||
"plugins": [
|
||||
[
|
||||
"expo-camera",
|
||||
{
|
||||
"cameraPermission": "Pezkuwi needs camera access to scan QR codes for wallet addresses and payments."
|
||||
}
|
||||
]
|
||||
],
|
||||
"web": {
|
||||
"favicon": "./assets/favicon.png"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user