forked from shihaam/thijooree
update docs
This commit is contained in:
@@ -10,7 +10,23 @@ Opened via:
|
||||
- Navigation menu
|
||||
- Quick-transfer button on an account row (source pre-selected)
|
||||
- `OPEN_TRANSFER` intent action
|
||||
- `OPEN_SCAN_QR` intent — opens the QR scanner immediately (`newInstanceWithAutoScan()`)
|
||||
- QR scan result (recipient and optional amount pre-filled)
|
||||
- Donate buttons in Settings → About (`newInstance(...)` with pre-filled recipient)
|
||||
|
||||
### Factory Methods
|
||||
|
||||
All defined in `TransferFragment.kt:179-242`:
|
||||
|
||||
| Method | Use case |
|
||||
|---|---|
|
||||
| `newInstance(accountNumber, displayName, subtitle, colorHex, imageHash)` | Pre-fill recipient (contact tap, recents, donate) |
|
||||
| `newInstanceFrom(account)` | Pre-select a source account (quick-transfer from accounts list) |
|
||||
| `newInstanceFromQr(accountNumber, displayName, amount, remarks, fromAccountNumber?)` | PayMV QR scan |
|
||||
| `newInstanceFromBmlQr(qrUrl, fromAccountNumber?)` | BML ebanking / pay.bml URL scan — locks recipient |
|
||||
| `newInstanceWithAutoScan()` | Open the QR scanner on load |
|
||||
|
||||
See [Transfer Flows](20-transfer-flows.md) for the full routing logic.
|
||||
|
||||
---
|
||||
|
||||
@@ -26,7 +42,7 @@ The user can specify a recipient in three ways:
|
||||
|
||||
1. **Manual entry** — type an account number directly
|
||||
2. **Contact picker** — opens `ContactPickerSheetFragment` to select a saved contact
|
||||
3. **QR scan** — opens the camera scanner; a PayMV QR result pre-fills the account number, amount, and remarks
|
||||
3. **QR scan** — launches [QrScannerActivity](25-qr-scanner.md); a PayMV QR result pre-fills the account number, amount, and remarks; a BML ebanking / pay.bml URL switches the form into [BML QR merchant payment](20-transfer-flows.md#bml-qr-merchant-payment-flow) mode
|
||||
|
||||
---
|
||||
|
||||
@@ -56,7 +72,13 @@ The resolved name is displayed below the account number field for the user to co
|
||||
|
||||
## Biometric Gate
|
||||
|
||||
If biometric-for-transfers is enabled in Settings → Security, `BiometricPrompt` is shown before the transfer is submitted. A failed or cancelled biometric blocks submission.
|
||||
If both `biometrics_enabled` and `biometrics_transfer_confirm` are set in Settings → Security (`SettingsSecurityFragment.kt:59`), `BiometricPrompt` is shown before the transfer is submitted. A failed or cancelled biometric blocks submission.
|
||||
|
||||
---
|
||||
|
||||
## BML USD → MIB Auto-Add Contact
|
||||
|
||||
When the source is a BML USD account and the destination is a MIB account but no saved BML contact exists for it, the app shows a "Contact required" dialog with a **Save** button that opens `AddContactSheetFragment.newInstance(bmlProfileId, accountNumber, recipientName, currency)` pre-filled (`TransferFragment.kt:1136-1164`). The user must save the contact through this sheet before BML can issue a USD cross-bank transfer.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user