Admob 제거
This commit is contained in:
parent
282ee73de1
commit
6c8e19aed5
2
Podfile
2
Podfile
|
@ -7,7 +7,6 @@ target 'SodaLive' do
|
||||||
|
|
||||||
# Pods for SodaLive
|
# Pods for SodaLive
|
||||||
pod 'BootpayUI', '4.3.0'
|
pod 'BootpayUI', '4.3.0'
|
||||||
pod 'Google-Mobile-Ads-SDK'
|
|
||||||
pod 'ObjectBox'
|
pod 'ObjectBox'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -18,7 +17,6 @@ target 'SodaLive-dev' do
|
||||||
|
|
||||||
# Pods for SodaLive-dev
|
# Pods for SodaLive-dev
|
||||||
pod 'BootpayUI', '4.3.0'
|
pod 'BootpayUI', '4.3.0'
|
||||||
pod 'Google-Mobile-Ads-SDK'
|
|
||||||
pod 'ObjectBox'
|
pod 'ObjectBox'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
62
Podfile.lock
62
Podfile.lock
|
@ -13,63 +13,15 @@ PODS:
|
||||||
- SnapKit
|
- SnapKit
|
||||||
- SwiftyJSON
|
- SwiftyJSON
|
||||||
- CryptoSwift (1.7.1)
|
- CryptoSwift (1.7.1)
|
||||||
- Google-Mobile-Ads-SDK (10.9.0):
|
|
||||||
- GoogleAppMeasurement (< 11.0, >= 7.0)
|
|
||||||
- GoogleUserMessagingPlatform (>= 1.1)
|
|
||||||
- GoogleAppMeasurement (10.13.0):
|
|
||||||
- GoogleAppMeasurement/AdIdSupport (= 10.13.0)
|
|
||||||
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
|
|
||||||
- GoogleUtilities/MethodSwizzler (~> 7.11)
|
|
||||||
- GoogleUtilities/Network (~> 7.11)
|
|
||||||
- "GoogleUtilities/NSData+zlib (~> 7.11)"
|
|
||||||
- nanopb (< 2.30910.0, >= 2.30908.0)
|
|
||||||
- GoogleAppMeasurement/AdIdSupport (10.13.0):
|
|
||||||
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.13.0)
|
|
||||||
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
|
|
||||||
- GoogleUtilities/MethodSwizzler (~> 7.11)
|
|
||||||
- GoogleUtilities/Network (~> 7.11)
|
|
||||||
- "GoogleUtilities/NSData+zlib (~> 7.11)"
|
|
||||||
- nanopb (< 2.30910.0, >= 2.30908.0)
|
|
||||||
- GoogleAppMeasurement/WithoutAdIdSupport (10.13.0):
|
|
||||||
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
|
|
||||||
- GoogleUtilities/MethodSwizzler (~> 7.11)
|
|
||||||
- GoogleUtilities/Network (~> 7.11)
|
|
||||||
- "GoogleUtilities/NSData+zlib (~> 7.11)"
|
|
||||||
- nanopb (< 2.30910.0, >= 2.30908.0)
|
|
||||||
- GoogleUserMessagingPlatform (2.1.0)
|
|
||||||
- GoogleUtilities/AppDelegateSwizzler (7.11.5):
|
|
||||||
- GoogleUtilities/Environment
|
|
||||||
- GoogleUtilities/Logger
|
|
||||||
- GoogleUtilities/Network
|
|
||||||
- GoogleUtilities/Environment (7.11.5):
|
|
||||||
- PromisesObjC (< 3.0, >= 1.2)
|
|
||||||
- GoogleUtilities/Logger (7.11.5):
|
|
||||||
- GoogleUtilities/Environment
|
|
||||||
- GoogleUtilities/MethodSwizzler (7.11.5):
|
|
||||||
- GoogleUtilities/Logger
|
|
||||||
- GoogleUtilities/Network (7.11.5):
|
|
||||||
- GoogleUtilities/Logger
|
|
||||||
- "GoogleUtilities/NSData+zlib"
|
|
||||||
- GoogleUtilities/Reachability
|
|
||||||
- "GoogleUtilities/NSData+zlib (7.11.5)"
|
|
||||||
- GoogleUtilities/Reachability (7.11.5):
|
|
||||||
- GoogleUtilities/Logger
|
|
||||||
- JGProgressHUD (2.2)
|
- JGProgressHUD (2.2)
|
||||||
- nanopb (2.30909.0):
|
|
||||||
- nanopb/decode (= 2.30909.0)
|
|
||||||
- nanopb/encode (= 2.30909.0)
|
|
||||||
- nanopb/decode (2.30909.0)
|
|
||||||
- nanopb/encode (2.30909.0)
|
|
||||||
- ObjectBox (1.8.1)
|
- ObjectBox (1.8.1)
|
||||||
- ObjectMapper (4.2.0)
|
- ObjectMapper (4.2.0)
|
||||||
- PromisesObjC (2.3.1)
|
|
||||||
- SCLAlertView (0.8)
|
- SCLAlertView (0.8)
|
||||||
- SnapKit (5.6.0)
|
- SnapKit (5.6.0)
|
||||||
- SwiftyJSON (5.0.1)
|
- SwiftyJSON (5.0.1)
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- BootpayUI (= 4.3.0)
|
- BootpayUI (= 4.3.0)
|
||||||
- Google-Mobile-Ads-SDK
|
|
||||||
- ObjectBox
|
- ObjectBox
|
||||||
|
|
||||||
SPEC REPOS:
|
SPEC REPOS:
|
||||||
|
@ -78,15 +30,9 @@ SPEC REPOS:
|
||||||
- Bootpay
|
- Bootpay
|
||||||
- BootpayUI
|
- BootpayUI
|
||||||
- CryptoSwift
|
- CryptoSwift
|
||||||
- Google-Mobile-Ads-SDK
|
|
||||||
- GoogleAppMeasurement
|
|
||||||
- GoogleUserMessagingPlatform
|
|
||||||
- GoogleUtilities
|
|
||||||
- JGProgressHUD
|
- JGProgressHUD
|
||||||
- nanopb
|
|
||||||
- ObjectBox
|
- ObjectBox
|
||||||
- ObjectMapper
|
- ObjectMapper
|
||||||
- PromisesObjC
|
|
||||||
- SCLAlertView
|
- SCLAlertView
|
||||||
- SnapKit
|
- SnapKit
|
||||||
- SwiftyJSON
|
- SwiftyJSON
|
||||||
|
@ -96,19 +42,13 @@ SPEC CHECKSUMS:
|
||||||
Bootpay: d753088334a16ce99094142beb66a6610a15d84b
|
Bootpay: d753088334a16ce99094142beb66a6610a15d84b
|
||||||
BootpayUI: 54dcbe59a23e0d91b07a8add8115e1a6deace0f0
|
BootpayUI: 54dcbe59a23e0d91b07a8add8115e1a6deace0f0
|
||||||
CryptoSwift: d3d18dc357932f7e6d580689e065cf1f176007c1
|
CryptoSwift: d3d18dc357932f7e6d580689e065cf1f176007c1
|
||||||
Google-Mobile-Ads-SDK: e81e8b009a182dc8dd14951782efdbb30a5e4510
|
|
||||||
GoogleAppMeasurement: 3ae505b44174bcc0775f5c86cecc5826259fbb1e
|
|
||||||
GoogleUserMessagingPlatform: dce302b8f1b84d6e945812ee7a15c3f65a102cbf
|
|
||||||
GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084
|
|
||||||
JGProgressHUD: d83d7a981b85d11205e19ff8ad5bb9c40571c847
|
JGProgressHUD: d83d7a981b85d11205e19ff8ad5bb9c40571c847
|
||||||
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
|
|
||||||
ObjectBox: a7900d5335218cd437cbc080b7ccc38a5211f7b4
|
ObjectBox: a7900d5335218cd437cbc080b7ccc38a5211f7b4
|
||||||
ObjectMapper: 1eb41f610210777375fa806bf161dc39fb832b81
|
ObjectMapper: 1eb41f610210777375fa806bf161dc39fb832b81
|
||||||
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
|
|
||||||
SCLAlertView: 6a77bb2edfc65e04dbe57725546cb4107a506b85
|
SCLAlertView: 6a77bb2edfc65e04dbe57725546cb4107a506b85
|
||||||
SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25
|
SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25
|
||||||
SwiftyJSON: 2f33a42c6fbc52764d96f13368585094bfd8aa5e
|
SwiftyJSON: 2f33a42c6fbc52764d96f13368585094bfd8aa5e
|
||||||
|
|
||||||
PODFILE CHECKSUM: d876c87c55385f76f576689bed2e2309653253c9
|
PODFILE CHECKSUM: cdff30c96e85662f4de75ddd8d54358311c1e629
|
||||||
|
|
||||||
COCOAPODS: 1.12.1
|
COCOAPODS: 1.12.1
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
//
|
|
||||||
// BannerAdView.swift
|
|
||||||
// SodaLive
|
|
||||||
//
|
|
||||||
// Created by klaus on 2023/09/14.
|
|
||||||
//
|
|
||||||
|
|
||||||
import SwiftUI
|
|
||||||
import UIKit
|
|
||||||
|
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct BannerAdView: UIViewControllerRepresentable {
|
|
||||||
|
|
||||||
let adUnitId: String
|
|
||||||
|
|
||||||
func makeUIViewController(context: Context) -> some UIViewController {
|
|
||||||
let viewController = UIViewController()
|
|
||||||
|
|
||||||
let bannerSize = GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(UIScreen.main.bounds.width)
|
|
||||||
let banner = GADBannerView(adSize: bannerSize)
|
|
||||||
banner.rootViewController = viewController
|
|
||||||
viewController.view.addSubview(banner)
|
|
||||||
viewController.view.frame = CGRect(origin: .zero, size: bannerSize.size)
|
|
||||||
|
|
||||||
banner.adUnitID = adUnitId
|
|
||||||
banner.load(GADRequest())
|
|
||||||
|
|
||||||
return viewController
|
|
||||||
}
|
|
||||||
|
|
||||||
func updateUIViewController(_ uiViewController: UIViewControllerType, context: Context) {}
|
|
||||||
}
|
|
|
@ -9,7 +9,6 @@ import UIKit
|
||||||
|
|
||||||
import FirebaseCore
|
import FirebaseCore
|
||||||
import FirebaseMessaging
|
import FirebaseMessaging
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||||
|
|
||||||
|
@ -17,8 +16,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||||
|
|
||||||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
|
||||||
FirebaseApp.configure()
|
FirebaseApp.configure()
|
||||||
GADMobileAds.sharedInstance().start()
|
|
||||||
|
|
||||||
Messaging.messaging().delegate = self
|
Messaging.messaging().delegate = self
|
||||||
|
|
||||||
// For iOS 10 display notification (sent via APNS)
|
// For iOS 10 display notification (sent via APNS)
|
||||||
|
|
|
@ -119,15 +119,6 @@ struct ContentDetailView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if audioContent.price <= 0 || (audioContent.price > 0 && !audioContent.existOrdered) {
|
|
||||||
BannerAdView(adUnitId: FREE_CONTENT_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.top, 26.7)
|
|
||||||
}
|
|
||||||
|
|
||||||
ContentDetailOtherContentView(
|
ContentDetailOtherContentView(
|
||||||
title: "크리에이터의 다른 콘텐츠",
|
title: "크리에이터의 다른 콘텐츠",
|
||||||
items: audioContent.creatorOtherContentList,
|
items: audioContent.creatorOtherContentList,
|
||||||
|
|
|
@ -56,13 +56,6 @@ struct ContentMainView: View {
|
||||||
)
|
)
|
||||||
.padding(.horizontal, 13.3)
|
.padding(.horizontal, 13.3)
|
||||||
|
|
||||||
BannerAdView(adUnitId: CURATION_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.top, 30)
|
|
||||||
|
|
||||||
if viewModel.curationList.count > 0 {
|
if viewModel.curationList.count > 0 {
|
||||||
ContentMainCurationView(items: viewModel.curationList)
|
ContentMainCurationView(items: viewModel.curationList)
|
||||||
.padding(.top, 40)
|
.padding(.top, 40)
|
||||||
|
|
|
@ -14,13 +14,3 @@ let AGORA_APP_ID = "b96574e191a9430fa54c605528aa3ef7"
|
||||||
let AGORA_APP_CERTIFICATE = "ae18ade3afcf4086bd4397726eb0654c"
|
let AGORA_APP_CERTIFICATE = "ae18ade3afcf4086bd4397726eb0654c"
|
||||||
|
|
||||||
let BOOTPAY_APP_ID = "6242a7772701800023f68b2f"
|
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_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"
|
|
||||||
let LIVE_ROOM_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716"
|
|
||||||
let EXPLORER_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716"
|
|
||||||
|
|
|
@ -146,15 +146,6 @@ struct ExplorerView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||||
|
|
||||||
if index == 1 {
|
|
||||||
BannerAdView(adUnitId: EXPLORER_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.top, 26.7)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct UserProfileView: View {
|
struct UserProfileView: View {
|
||||||
|
|
||||||
|
@ -91,13 +90,6 @@ struct UserProfileView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BannerAdView(adUnitId: CREATOR_CHANNEL_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.top, 26.7)
|
|
||||||
|
|
||||||
if creatorProfile.contentList.count > 0 ||
|
if creatorProfile.contentList.count > 0 ||
|
||||||
userId == UserDefaults.int(forKey: .userId)
|
userId == UserDefaults.int(forKey: .userId)
|
||||||
{
|
{
|
||||||
|
@ -163,13 +155,6 @@ struct UserProfileView: View {
|
||||||
.padding(.top, 26.7)
|
.padding(.top, 26.7)
|
||||||
}
|
}
|
||||||
|
|
||||||
BannerAdView(adUnitId: CREATOR_CHANNEL_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.top, 26.7)
|
|
||||||
|
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
if creatorProfile.similarCreatorList.count > 0 {
|
if creatorProfile.similarCreatorList.count > 0 {
|
||||||
VStack(spacing: 26.7) {
|
VStack(spacing: 26.7) {
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct FollowCreatorView: View {
|
struct FollowCreatorView: View {
|
||||||
|
|
||||||
|
@ -17,13 +16,6 @@ struct FollowCreatorView: View {
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
DetailNavigationBar(title: "팔로잉 채널리스트")
|
DetailNavigationBar(title: "팔로잉 채널리스트")
|
||||||
|
|
||||||
BannerAdView(adUnitId: FOLLOWING_CHANNEL_LIST_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.vertical, 6.7)
|
|
||||||
|
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
Text("총 ")
|
Text("총 ")
|
||||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||||
|
@ -40,6 +32,7 @@ struct FollowCreatorView: View {
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
.padding(.horizontal, 13.3)
|
.padding(.horizontal, 13.3)
|
||||||
|
.padding(.top, 6.7)
|
||||||
|
|
||||||
ScrollView(.vertical, showsIndicators: false) {
|
ScrollView(.vertical, showsIndicators: false) {
|
||||||
VStack(spacing: 13.3) {
|
VStack(spacing: 13.3) {
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import GoogleMobileAds
|
|
||||||
import RefreshableScrollView
|
import RefreshableScrollView
|
||||||
|
|
||||||
struct LiveView: View {
|
struct LiveView: View {
|
||||||
|
@ -42,13 +41,6 @@ struct LiveView: View {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
BannerAdView(adUnitId: LIVE_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.top, 40)
|
|
||||||
|
|
||||||
SectionLiveNowView(
|
SectionLiveNowView(
|
||||||
items: viewModel.liveNowItems,
|
items: viewModel.liveNowItems,
|
||||||
onClickParticipant: {
|
onClickParticipant: {
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import GoogleMobileAds
|
|
||||||
import RefreshableScrollView
|
import RefreshableScrollView
|
||||||
|
|
||||||
struct LiveNowAllView: View {
|
struct LiveNowAllView: View {
|
||||||
|
@ -22,13 +21,6 @@ struct LiveNowAllView: View {
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
DetailNavigationBar(title: "지금 라이브 중 전체보기")
|
DetailNavigationBar(title: "지금 라이브 중 전체보기")
|
||||||
|
|
||||||
BannerAdView(adUnitId: LIVE_NOW_ALL_LIST_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.vertical, 6.7)
|
|
||||||
|
|
||||||
RefreshableScrollView(
|
RefreshableScrollView(
|
||||||
refreshing: $viewModel.isRefresh,
|
refreshing: $viewModel.isRefresh,
|
||||||
action: {
|
action: {
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import Kingfisher
|
import Kingfisher
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct LiveDetailView: View {
|
struct LiveDetailView: View {
|
||||||
|
|
||||||
|
@ -57,12 +56,6 @@ struct LiveDetailView: View {
|
||||||
VStack {
|
VStack {
|
||||||
Spacer()
|
Spacer()
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
BannerAdView(adUnitId: LIVE_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
|
|
||||||
HStack {
|
HStack {
|
||||||
Spacer()
|
Spacer()
|
||||||
Image("ic_close_white")
|
Image("ic_close_white")
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct MessageView: View {
|
struct MessageView: View {
|
||||||
|
|
||||||
|
@ -19,13 +18,6 @@ struct MessageView: View {
|
||||||
|
|
||||||
Tab()
|
Tab()
|
||||||
|
|
||||||
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
.padding(.top, 13.3)
|
|
||||||
|
|
||||||
Text("※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다.")
|
Text("※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다.")
|
||||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||||
.padding(.top, 20)
|
.padding(.top, 20)
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import Kingfisher
|
import Kingfisher
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct SelectRecipientView: View {
|
struct SelectRecipientView: View {
|
||||||
|
|
||||||
|
@ -36,12 +35,6 @@ struct SelectRecipientView: View {
|
||||||
|
|
||||||
ScrollView(.vertical, showsIndicators: false) {
|
ScrollView(.vertical, showsIndicators: false) {
|
||||||
LazyVStack(spacing: 26.7) {
|
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
|
ForEach(viewModel.users, id: \.self) { user in
|
||||||
HStack(spacing: 13.3) {
|
HStack(spacing: 13.3) {
|
||||||
KFImage(URL(string: user.profileImageUrl))
|
KFImage(URL(string: user.profileImageUrl))
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct TextMessageWriteView: View {
|
struct TextMessageWriteView: View {
|
||||||
|
|
||||||
|
@ -81,13 +80,6 @@ struct TextMessageWriteView: View {
|
||||||
}
|
}
|
||||||
.frame(height: 50)
|
.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(
|
TextViewWrapper(
|
||||||
text: $viewModel.message,
|
text: $viewModel.message,
|
||||||
placeholder: viewModel.placeholder,
|
placeholder: viewModel.placeholder,
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct VoiceMessageWriteView: View {
|
struct VoiceMessageWriteView: View {
|
||||||
|
|
||||||
|
@ -35,12 +34,6 @@ struct VoiceMessageWriteView: View {
|
||||||
VStack {
|
VStack {
|
||||||
Spacer()
|
Spacer()
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
|
|
||||||
.frame(
|
|
||||||
width: screenSize().width,
|
|
||||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
|
||||||
)
|
|
||||||
|
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
Text("음성메시지")
|
Text("음성메시지")
|
||||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import GoogleMobileAds
|
|
||||||
|
|
||||||
struct OrderListAllView: View {
|
struct OrderListAllView: View {
|
||||||
|
|
||||||
|
@ -39,13 +38,6 @@ struct OrderListAllView: View {
|
||||||
LazyVStack(spacing: 10.7) {
|
LazyVStack(spacing: 10.7) {
|
||||||
ScrollerToTop(reader: reader, scrollOnChange: $viewModel.scrollToTop)
|
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..<viewModel.orderList.count, id: \.self) { index in
|
ForEach(0..<viewModel.orderList.count, id: \.self) { index in
|
||||||
let item = viewModel.orderList[index]
|
let item = viewModel.orderList[index]
|
||||||
OrderListItemView(item: item)
|
OrderListItemView(item: item)
|
||||||
|
@ -56,6 +48,7 @@ struct OrderListAllView: View {
|
||||||
.setAppStep(step: .contentDetail(contentId: item.contentId))
|
.setAppStep(step: .contentDetail(contentId: item.contentId))
|
||||||
}
|
}
|
||||||
.padding(.horizontal, 13.3)
|
.padding(.horizontal, 13.3)
|
||||||
|
.padding(.top, 6.7)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
if index == viewModel.orderList.count - 1 {
|
if index == viewModel.orderList.count - 1 {
|
||||||
viewModel.getOrderList()
|
viewModel.getOrderList()
|
||||||
|
|
|
@ -14,13 +14,3 @@ let AGORA_APP_ID = "e34e40046e9847baba3adfe2b8ffb4f6"
|
||||||
let AGORA_APP_CERTIFICATE = "15cadeea4ba94ff7b091c9a10f4bf4a6"
|
let AGORA_APP_CERTIFICATE = "15cadeea4ba94ff7b091c9a10f4bf4a6"
|
||||||
|
|
||||||
let BOOTPAY_APP_ID = "64c35be1d25985001dc50c88"
|
let BOOTPAY_APP_ID = "64c35be1d25985001dc50c88"
|
||||||
let FREE_CONTENT_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/7126167277"
|
|
||||||
let CURATION_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/7093064604"
|
|
||||||
let ORDERLIST_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/5095217535"
|
|
||||||
let LIVE_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/1371594942"
|
|
||||||
let FOLLOWING_CHANNEL_LIST_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/2254551334"
|
|
||||||
let LIVE_NOW_ALL_LIST_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/2446123029"
|
|
||||||
let CREATOR_CHANNEL_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/3614614905"
|
|
||||||
let MESSAGE_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/6432349937"
|
|
||||||
let LIVE_ROOM_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/1111778485"
|
|
||||||
let EXPLORER_BANNER_AD_UNIT_ID = "ca-app-pub-1299501215847962/9823185638"
|
|
||||||
|
|
Loading…
Reference in New Issue