package com.syaroful.agrilinkvocpro.di

import com.google.android.play.core.splitinstall.SplitInstallManager
import com.google.android.play.core.splitinstall.SplitInstallManagerFactory
import com.syaroful.agrilinkvocpro.data.repository.DynamicModuleRepository
import org.koin.android.ext.koin.androidContext
import org.koin.dsl.module

val dynamicFeatureModule = module {
    single<SplitInstallManager> {
        SplitInstallManagerFactory.create(androidContext())
    }

    single { DynamicModuleRepository(get()) }
}