How sepehrraeisi/zar works
ZAR+ is a Persian-first operational app for gold and currency work. Users manage people and asset deals, record separate settlements, and explicitly allocate completed or open Toman movements to obligations; the app derives customer operational position rather than persisting balances. The V2 shell also coordinates settlement-owned reminder plans with device notifications, while backup/export and archived-people workflows support data portability and record management. The supplied tree omits the Flutter/Dart application source, so those components have no asserted source path or speculative call wiring. Native permission bridges and the PocketBase migration are visible; production Firebase is documented as disabled.
Main entry points: AppDelegate.swift iOS permission bridge · MainActivity.kt Permission bridge · 1758400000_zar_collections.js PocketBase collections
Components 17
Operations
- Persian RTL app
- People & archive
- Gold/currency deals
- Settlements
Obligations
- Payment allocations
- Customer position
Reminders
- Notification Center
- Reminder plans
- Native notifications
- Permission bridge
android/app/src/main/kotlin/com/zarplus/app/MainActivity.kt - iOS permission bridge
ios/Runner/AppDelegate.swift
Portability
- Backup & CSV export
Persistence
- Drift/SQLite store
- Firestore layer
- PocketBase collections
server/pb_migrations/1758400000_zar_collections.js
Other components
- Operator
- Device notification OS
Connections 17
- Operator → Persian RTL app: uses
- Persian RTL app → People & archive: manages
- Persian RTL app → Gold/currency deals: records
- Persian RTL app → Settlements: records
- Settlements → Reminder plans: owns plan
- Persian RTL app → Payment allocations: records
- Payment allocations → Customer position: reduce obligations
- Gold/currency deals → Customer position: create obligations
- Persian RTL app → Notification Center: opens
- Reminder plans → Native notifications: schedules
- Native notifications → Device notification OS: delivers
- Persian RTL app → Permission bridge: queries permission
- iOS permission bridge → Device notification OS: queries settings
- Persian RTL app → Backup & CSV export: exports/restores
- Persian RTL app → Drift/SQLite store: persists records
- Persian RTL app → Firestore layer: maps domain data
- Firestore layer → PocketBase collections: unspecified