fix(ad): 전면 광고 몰입 모드 적용

This commit is contained in:
JiWoong Sul
2025-12-03 18:26:34 +09:00
parent a4c7f55fc0
commit 3f659432e9
3 changed files with 114 additions and 116 deletions

View File

@@ -9,6 +9,13 @@ class AdHelper {
defaultTargetPlatform == TargetPlatform.iOS;
}
static String get interstitialAdUnitId {
if (!isMobilePlatform) {
throw UnsupportedError('Interstitial ads are only supported on mobile.');
}
return AppConstants.interstitialAdUnitId;
}
static String get nativeAdUnitId {
if (!isMobilePlatform) {
throw UnsupportedError('Native ads are only supported on mobile.');