Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions cmp-android/dependencies/prodReleaseRuntimeClasspath.tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3475,6 +3475,86 @@
| | +--- org.jetbrains.compose.components:components-resources:1.9.3 -> 1.10.0 (*)
| | +--- org.jetbrains.compose.components:components-ui-tooling-preview:1.9.3 (*)
| | \--- project :core:common (*)
| +--- project :libs:mifos-loans
| | +--- androidx.lifecycle:lifecycle-runtime-compose:2.9.4 (*)
| | +--- androidx.lifecycle:lifecycle-viewmodel-compose:2.9.4 (*)
| | +--- androidx.tracing:tracing-ktx:1.3.0 (*)
| | +--- io.insert-koin:koin-bom:4.1.1 (*)
| | +--- io.insert-koin:koin-android:4.1.1 (*)
| | +--- io.insert-koin:koin-androidx-compose:4.1.1 (*)
| | +--- io.insert-koin:koin-androidx-navigation:4.1.1 (*)
| | +--- io.insert-koin:koin-core-viewmodel:4.1.1 (*)
| | +--- io.github.kevinnzou:compose-webview-multiplatform:2.0.3
| | | \--- io.github.kevinnzou:compose-webview-multiplatform-android:2.0.3
| | | +--- androidx.activity:activity-compose:1.10.1 -> 1.12.2 (*)
| | | +--- androidx.webkit:webkit:1.13.0
| | | | +--- androidx.annotation:annotation:1.8.1 -> 1.9.1 (*)
| | | | +--- androidx.annotation:annotation-experimental:1.4.1 -> 1.5.1 (*)
| | | | +--- androidx.core:core:1.1.0 -> 1.17.0 (*)
| | | | \--- org.jspecify:jspecify:1.0.0
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2 (*)
| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.2.21 (*)
| | | +--- org.jetbrains.compose.runtime:runtime:1.8.0 -> 1.10.1 (*)
| | | +--- org.jetbrains.compose.foundation:foundation:1.8.0 -> 1.10.0 (*)
| | | +--- org.jetbrains.compose.components:components-resources:1.8.0 -> 1.10.0 (*)
| | | +--- co.touchlab:kermit:2.0.3 -> 2.0.8 (*)
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2 (*)
| | | \--- org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1 -> 1.9.0 (*)
| | +--- org.jetbrains.kotlin:kotlin-stdlib:2.2.21 (*)
| | +--- io.insert-koin:koin-core:4.1.1 (*)
| | +--- io.insert-koin:koin-annotations:2.1.0 (*)
| | +--- project :core:ui (*)
| | +--- project :core:designsystem (*)
| | +--- project :core:data (*)
| | +--- io.insert-koin:koin-compose:4.1.1 (*)
| | +--- io.insert-koin:koin-compose-viewmodel:4.1.1 (*)
| | +--- org.jetbrains.compose.runtime:runtime:1.9.3 -> 1.10.1 (*)
| | +--- org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.6 (*)
| | +--- org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose:2.9.6 (*)
| | +--- org.jetbrains.androidx.lifecycle:lifecycle-viewmodel:2.9.6 (*)
| | +--- org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.6 (*)
| | +--- org.jetbrains.androidx.savedstate:savedstate:1.4.0 (*)
| | +--- org.jetbrains.androidx.core:core-bundle:1.0.1 (*)
| | +--- org.jetbrains.androidx.navigation:navigation-compose:2.9.1 (*)
| | +--- org.jetbrains.androidx.navigationevent:navigationevent-compose:1.0.1 (*)
| | +--- org.jetbrains.kotlinx:kotlinx-collections-immutable:0.4.0 (*)
| | +--- org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0 (*)
| | +--- io.github.openmf:mifos-authenticator-passcode:2.3.0-beta (*)
| | +--- io.github.openmf:mifos-authenticator-biometrics:2.3.0-beta (*)
| | +--- org.jetbrains.compose.ui:ui:1.9.3 -> 1.10.1 (*)
| | +--- org.jetbrains.compose.foundation:foundation:1.9.3 -> 1.10.0 (*)
| | +--- org.jetbrains.compose.material3:material3:1.9.0-beta03 -> 1.9.0 (*)
| | +--- org.jetbrains.compose.material:material-icons-extended:1.7.3 (*)
| | +--- org.jetbrains.compose.components:components-resources:1.9.3 -> 1.10.0 (*)
| | +--- org.jetbrains.compose.components:components-ui-tooling-preview:1.9.3 (*)
| | +--- io.github.vinceglb:filekit-core:0.12.0 (*)
| | +--- io.github.vinceglb:filekit-dialogs:0.12.0 (*)
| | +--- io.github.vinceglb:filekit-dialogs-compose:0.12.0 (*)
| | +--- io.github.niyajali:compose-signature:1.0.1
| | | \--- io.github.niyajali:compose-signature-android:1.0.1
| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.2.21 (*)
| | | +--- org.jetbrains.compose.runtime:runtime:1.8.1 -> 1.10.1 (*)
| | | +--- org.jetbrains.compose.ui:ui:1.8.1 -> 1.10.1 (*)
| | | +--- org.jetbrains.compose.foundation:foundation:1.8.1 -> 1.10.0 (*)
| | | +--- org.jetbrains.compose.material3:material3:1.8.1 -> 1.9.0 (*)
| | | +--- org.jetbrains.compose.components:components-resources:1.8.1 -> 1.10.0 (*)
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2 (*)
| | | \--- org.jetbrains.kotlinx:kotlinx-datetime:0.6.2 -> 0.7.1 (*)
| | +--- project :core-base:ui (*)
| | +--- project :core-base:common
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2 (*)
| | | +--- co.touchlab:kermit:2.0.8 (*)
| | | +--- com.squareup.okio:okio:3.16.4 (*)
| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.2.21 (*)
| | | +--- org.jetbrains.kotlinx:kotlinx-datetime:0.7.1 (*)
| | | +--- io.insert-koin:koin-bom:4.1.1 (*)
| | | +--- io.insert-koin:koin-core:4.1.1 (*)
| | | +--- io.insert-koin:koin-annotations:2.1.0 (*)
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2 (*)
| | | \--- org.jetbrains.kotlin:kotlin-parcelize-runtime:2.2.21 (*)
| | +--- project :core-base:network (*)
| | +--- androidx.appcompat:appcompat:1.7.1 (*)
| | \--- androidx.core:core-ktx:1.17.0 (*)
| +--- project :feature:pocket
| | +--- androidx.lifecycle:lifecycle-runtime-compose:2.9.4 (*)
| | +--- androidx.lifecycle:lifecycle-viewmodel-compose:2.9.4 (*)
Expand Down
7 changes: 7 additions & 0 deletions cmp-android/dependencies/prodReleaseRuntimeClasspath.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:cmp-shared
:core-base:common
:core-base:datastore
:core-base:designsystem
:core-base:network
Expand Down Expand Up @@ -41,6 +42,7 @@
:feature:transfer-interbank
:feature:transfer-intrabank
:feature:upi-setup
:libs:mifos-loans
androidx.activity:activity-compose:1.12.2
androidx.activity:activity-ktx:1.12.2
androidx.activity:activity:1.12.2
Expand Down Expand Up @@ -213,6 +215,7 @@ androidx.vectordrawable:vectordrawable-animated:1.1.0
androidx.vectordrawable:vectordrawable:1.1.0
androidx.versionedparcelable:versionedparcelable:1.1.1
androidx.viewpager:viewpager:1.0.0
androidx.webkit:webkit:1.13.0
androidx.window:window-core-android:1.5.0
androidx.window:window-core:1.5.0
androidx.window:window:1.5.0
Expand Down Expand Up @@ -345,6 +348,10 @@ io.github.jan-tennert.supabase:postgrest-kt-android:3.1.1
io.github.jan-tennert.supabase:postgrest-kt:3.1.1
io.github.jan-tennert.supabase:supabase-kt-android:3.1.1
io.github.jan-tennert.supabase:supabase-kt:3.1.1
io.github.kevinnzou:compose-webview-multiplatform-android:2.0.3
io.github.kevinnzou:compose-webview-multiplatform:2.0.3
io.github.niyajali:compose-signature-android:1.0.1
io.github.niyajali:compose-signature:1.0.1
io.github.niyajali:fluentui-system-icons-android:1.0.0
io.github.niyajali:fluentui-system-icons:1.0.0
io.github.openmf:mifos-authenticator-biometrics-android:2.3.0-beta
Expand Down
1 change: 1 addition & 0 deletions cmp-shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ kotlin {
implementation(projects.feature.passcode)
implementation(projects.feature.autopay)
implementation(projects.feature.sendMoney)
implementation(projects.libs.mifosLoans)
implementation(projects.feature.pocket)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import org.koin.dsl.koinApplication
import org.koin.dsl.module
import org.mifos.authenticator.passcode.PasscodeManager
import org.mifos.feature.passcode.MifosAuthenticatorModule
import org.mifos.lib.loan.di.LoanApplicationModule
import org.mifospay.core.common.di.DispatchersModule
import org.mifospay.core.common.di.stringProviderModule
import org.mifospay.core.data.di.RepositoryModule
Expand Down Expand Up @@ -119,6 +120,7 @@ object KoinModules {
MifosAuthenticatorModule,
AutoPayModule,
SendMoneyModule,
LoanApplicationModule,
PocketModule,
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import org.jetbrains.compose.resources.stringResource
import org.koin.compose.koinInject
import org.mifos.feature.passcode.internalMifosPasscodeScreen
import org.mifos.feature.passcode.navigateToInternalMifosPasscodeScreen
import org.mifos.lib.loan.navigation.loanApplicationGraph
import org.mifos.lib.loan.navigation.navigateToLoanApplicationGraph
import org.mifospay.core.data.repository.UserVerificationRepository
import org.mifospay.core.ui.utility.TabContent
import org.mifospay.feature.accounts.AccountsScreen
Expand Down Expand Up @@ -271,6 +273,9 @@ internal fun MifosNavHost(
onAddEditSavingsAccount = navController::navigateToSavingAccountAddEdit,
onViewSavingAccountDetails = navController::navigateToSavingAccountDetails,
onAddOrEditBeneficiary = navController::navigateToBeneficiaryAddEdit,
onApplyForLoanClick = { clientId ->
navController.navigateToLoanApplicationGraph(clientId)
},
)
},

Expand Down Expand Up @@ -869,6 +874,22 @@ internal fun MifosNavHost(
},
)

loanApplicationGraph(
navController = navController,
navigateBack = navController::navigateUp,
navigateForPasscodeVerification = { verificationKey ->
navController.navigateToInternalMifosPasscodeScreen(verificationKey)
},
onSubmitSuccess = {
navController.navigate(FINANCE_ROUTE) {
popUpTo(FINANCE_ROUTE) {
inclusive = false
}
launchSingleTop = true
}
},
)

transferSuccessScreen(
navigateBack = { returnDestination ->
when (returnDestination) {
Expand Down
Loading
Loading