mobile-wallet/cmp-android/src/main/kotlin/org/mifospay/MifosPayApp.kt
Hekmatullah fd3fc4c302
chore: rename mifospay-* modules to cmp-* (#1893)
Co-authored-by: Sk Niyaj Ali <niyaj639@gmail.com>
2025-07-28 12:03:45 +05:30

29 lines
812 B
Kotlin

/*
* Copyright 2024 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* See https://github.com/openMF/mobile-wallet/blob/master/LICENSE.md
*/
package org.mifospay
import android.app.Application
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.GlobalContext.startKoin
import org.mifospay.shared.di.KoinModules
class MifosPayApp : Application() {
override fun onCreate() {
super.onCreate()
startKoin {
androidContext(this@MifosPayApp)
androidLogger()
modules(KoinModules.allModules)
}
}
}