fix: 플로팅 네비게이션 바 렌더링 문제 해결
- SMS 화면에서 그림자가 제대로 표시되지 않던 문제 수정 - Stack 구조를 Container로 단순화하여 렌더링 최적화 - RenderFlex overflow 오류 해결 (패딩 및 아이콘 크기 조정) - Android 패키지명 변경 및 빌드 설정 업데이트
This commit is contained in:
@@ -20,16 +20,20 @@ import 'navigation/app_navigation_observer.dart';
|
||||
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
|
||||
import 'package:google_mobile_ads/google_mobile_ads.dart';
|
||||
import 'dart:io' show Platform;
|
||||
import 'dart:async' show unawaited;
|
||||
import 'utils/memory_manager.dart';
|
||||
import 'utils/performance_optimizer.dart';
|
||||
import 'navigator_key.dart';
|
||||
|
||||
// AdMob 활성화 플래그 (개발 중 false, 프로덕션 시 true로 변경)
|
||||
const bool enableAdMob = false;
|
||||
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
// 구글 모바일 광고 SDK 초기화 (웹이 아니고, Android/iOS에서만)
|
||||
if (!kIsWeb && (Platform.isAndroid || Platform.isIOS)) {
|
||||
await MobileAds.instance.initialize();
|
||||
if (!kIsWeb && (Platform.isAndroid || Platform.isIOS) && enableAdMob) {
|
||||
unawaited(MobileAds.instance.initialize());
|
||||
}
|
||||
|
||||
// 성능 최적화 설정
|
||||
|
||||
Reference in New Issue
Block a user