Admob 제거

This commit is contained in:
Yu Sung
2023-10-14 17:31:28 +09:00
parent 282ee73de1
commit 6c8e19aed5
19 changed files with 3 additions and 228 deletions

View File

@@ -6,7 +6,6 @@
//
import SwiftUI
import GoogleMobileAds
struct MessageView: View {
@@ -19,13 +18,6 @@ struct MessageView: View {
Tab()
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
)
.padding(.top, 13.3)
Text("※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다.")
.font(.custom(Font.medium.rawValue, size: 13.3))
.padding(.top, 20)

View File

@@ -7,7 +7,6 @@
import SwiftUI
import Kingfisher
import GoogleMobileAds
struct SelectRecipientView: View {
@@ -36,12 +35,6 @@ struct SelectRecipientView: View {
ScrollView(.vertical, showsIndicators: false) {
LazyVStack(spacing: 26.7) {
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
)
ForEach(viewModel.users, id: \.self) { user in
HStack(spacing: 13.3) {
KFImage(URL(string: user.profileImageUrl))

View File

@@ -6,7 +6,6 @@
//
import SwiftUI
import GoogleMobileAds
struct TextMessageWriteView: View {
@@ -81,13 +80,6 @@ struct TextMessageWriteView: View {
}
.frame(height: 50)
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
)
.padding(.top, 13.3)
TextViewWrapper(
text: $viewModel.message,
placeholder: viewModel.placeholder,

View File

@@ -6,7 +6,6 @@
//
import SwiftUI
import GoogleMobileAds
struct VoiceMessageWriteView: View {
@@ -35,12 +34,6 @@ struct VoiceMessageWriteView: View {
VStack {
Spacer()
VStack(spacing: 0) {
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
)
HStack(spacing: 0) {
Text("음성메시지")
.font(.custom(Font.bold.rawValue, size: 18.3))