diff --git a/sdk/src/main/java/com/iamport/sdk/domain/core/Iamport.kt b/sdk/src/main/java/com/iamport/sdk/domain/core/Iamport.kt index 61972d32..4e5381e2 100644 --- a/sdk/src/main/java/com/iamport/sdk/domain/core/Iamport.kt +++ b/sdk/src/main/java/com/iamport/sdk/domain/core/Iamport.kt @@ -80,11 +80,15 @@ object Iamport { return koinApp } + fun create(app: Application) { + createWithKoin(app) + } + /** * Application instance 를 통해 SDK 생명주기 감지, DI 초기화 */ // TODO Application 사용하지 않는 방안 모색 - fun create(app: Application, koinApp: KoinApplication? = null) { + fun createWithKoin(app: Application, koinApp: KoinApplication? = null) { IamportKoinContext.koinApp = koinApp ?: startKoin {