feat(arch): GetIt DI + IIAPService/IAdService 인터페이스 도입

- core/di/: service_locator, IIAPService, IAdService 생성
- IAPService/AdService: implements 인터페이스 + GetIt 위임
- main.dart: setupServiceLocator() 호출
- 기존 .instance getter 호환성 100% 유지
- test/helpers/test_setup.dart: 테스트용 서비스 로케이터 초기화
This commit is contained in:
JiWoong Sul
2026-03-30 19:41:13 +09:00
parent c382d6d770
commit e051bd451a
11 changed files with 150 additions and 15 deletions

View File

@@ -52,6 +52,8 @@ dependencies:
pointycastle: ^3.9.1
# 앱 버전 정보
package_info_plus: ^8.3.0
# 의존성 주입(Dependency Injection) 서비스 로케이터
get_it: ^8.0.3
dev_dependencies:
flutter_test: