fix: 출시 전 검수 이슈 4건 수정

- save_data: JSON 캐스팅 시 null 안전 처리 (손상된 세이브 크래시 방지)
- settings_repository: _prefs! 강제 언래핑 제거, _getPrefs() 패턴 적용
- game_session_controller: IAP 구매 상태를 MonetizationState에 동기화
- iap_service: InAppPurchase.instance를 lazy 초기화로 변경
This commit is contained in:
JiWoong Sul
2026-03-24 17:40:39 +09:00
parent c54681df8c
commit 863c52600f
4 changed files with 50 additions and 24 deletions

View File

@@ -68,7 +68,7 @@ class IAPService {
// 상태
// ===========================================================================
final InAppPurchase _iap = InAppPurchase.instance;
late final InAppPurchase _iap = InAppPurchase.instance;
bool _isInitialized = false;
bool _isAvailable = false;