From 475882570a8e78db223097b4dd887fababb831a1 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 15 Sep 2023 16:04:21 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B5=AC=EB=A7=A4=EB=AA=A9=EB=A1=9D=20-=20?= =?UTF-8?q?=EB=B0=B0=EB=84=88=EA=B4=91=EA=B3=A0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Debug/Utils/Constants.swift | 7 +++++++ SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift | 8 ++++++++ SodaLive/Sources/Utils/Constants.swift | 7 +++++++ 3 files changed, 22 insertions(+) diff --git a/SodaLive/Sources/Debug/Utils/Constants.swift b/SodaLive/Sources/Debug/Utils/Constants.swift index 9912daa..2563d76 100644 --- a/SodaLive/Sources/Debug/Utils/Constants.swift +++ b/SodaLive/Sources/Debug/Utils/Constants.swift @@ -15,3 +15,10 @@ let AGORA_APP_CERTIFICATE = "ae18ade3afcf4086bd4397726eb0654c" let BOOTPAY_APP_ID = "6242a7772701800023f68b2f" let FREE_CONTENT_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let CURATION_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let ORDERLIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let LIVE_BANNER_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let FOLLOWING_CHANNEL_LIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let LIVE_NOW_ALL_LIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let CREATOR_CHANNEL_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let MESSAGE_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" diff --git a/SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift b/SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift index 1b4ba01..0751b6e 100644 --- a/SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift +++ b/SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift @@ -6,6 +6,7 @@ // import SwiftUI +import GoogleMobileAds struct OrderListAllView: View { @@ -38,6 +39,13 @@ struct OrderListAllView: View { LazyVStack(spacing: 10.7) { ScrollerToTop(reader: reader, scrollOnChange: $viewModel.scrollToTop) + BannerAdView(adUnitId: ORDERLIST_BANNER_AD_UNIT_ID) + .frame( + width: screenSize().width, + height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height + ) + .padding(.vertical, 6.7) + ForEach(0..