fix(ad): 전면 광고 몰입 모드 적용
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user