How openmf/mifos-pay works
Mifos Pay is a Kotlin Multiplatform wallet app for Android, iOS, desktop, and web, built on the Fineract API. Its broad user journey enters through a platform shell, renders the shared Compose application, and proceeds through authentication and financial tasks; the README documents the backend relationship, while sampled code confirms the shared-app handoff. The tree also shows transfer, loan, search, settings, and synchronization areas. Feature-level wiring is mostly unsampled, so those connections are omitted rather than inferred.
Main entry points: SharedApp.kt Shared app · main.kt Desktop shell · MifosViewController.kt iOS shell · Main.kt Web shell
Components 15
App entrypoints
- Desktop shell
cmp-desktop/src/jvmMain/kotlin/main.kt - iOS shell
cmp-shared/src/iosMain/kotlin/MifosViewController.kt - Web shell
cmp-web/src/wasmJsMain/kotlin/Main.kt
Shared app
- Shared app
cmp-shared/src/commonMain/kotlin/cmp/shared/SharedApp.kt - Compose root
cmp-navigation/src/commonMain/kotlin/cmp/navigation/ComposeApp.kt
Financial services
- Authentication API
core/network/src/commonMain/kotlin/org/mifospay/core/network/services/AuthenticationService.kt - Two-factor API
core/network/src/commonMain/kotlin/org/mifospay/core/network/services/TwoFactorAuthService.kt - Search API
core/network/src/commonMain/kotlin/org/mifospay/core/network/services/SearchService.kt - Loan API
libs/mifos-loans/src/commonMain/kotlin/org/mifos/lib/loan/network/LoansService.kt - Money transfer
feature/transfer-interbank/src/commonMain/kotlin/org/mifospay/feature/transfer/interbank/screens/PreviewTransferScreen.kt
Platform services
- Data synchronization
sync/src/commonMain/kotlin/kpt/sync/infra/DataSyncWorker.kt - Local database
- App review
core-base/platform/src/commonMain/kotlin/kpt/core/base/platform/review/AppReviewManager.kt
Other components
- User
- Fineract backend
Connections 11
- User → Desktop shell: uses
- User → iOS shell: uses
- User → Web shell: uses
- Desktop shell → Shared app: launches
cmp-desktop/src/jvmMain/kotlin/main.kt - iOS shell → Shared app: renders
cmp-shared/src/iosMain/kotlin/MifosViewController.kt - Web shell → Shared app: renders
cmp-web/src/wasmJsMain/kotlin/Main.kt - Shared app → Compose root: delegates
cmp-shared/src/commonMain/kotlin/cmp/shared/SharedApp.kt - Authentication API → Fineract backend: API calls
- Two-factor API → Fineract backend: API calls
- Search API → Fineract backend: API calls
- Loan API → Fineract backend: API calls