Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2.1.0.3] Info.plist에 누락된 kakaoplus 값을 넣고 테스트 #80

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ extension MyPageViewController: UITableViewDelegate {
self.navigationController?.pushViewController(myReviewViewController, animated: true)
// "문의하기" 스크린으로 이동
case MyPageLabels.Inquiry.rawValue:
TalkApi.shared.chatChannel(channelPublicId: "_ZlVAn") { [weak self] error in
TalkApi.shared.chatChannel(channelPublicId: TextLiteral.KakaoChannel.id) { [weak self] error in
if error != nil {
if let kakaoChannelLink = URL(string: "http://pf.kakao.com/_ZlVAn") {
if let kakaoChannelLink = URL(string: "http://pf.kakao.com/\(TextLiteral.KakaoChannel.id)") {
UIApplication.shared.open(kakaoChannelLink)
} else {
self?.showAlertController(title: "다시 시도하세요", message: "에러가 발생했습니다", style: .default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ enum TextLiteral {
/// 오늘의 학식을 확인해보세요!
static let dailyWeekdayNotificationBody: String = "오늘의 학식을 확인해보세요!"
}

enum KakaoChannel {

/// EATSSU 카카오 채널 ID
static let id: String = "_ZlVAn"
}


// MARK: - Sign In
Expand Down
7 changes: 6 additions & 1 deletion EATSSU_MVC/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ let eatSSUInfoPlist: InfoPlist = .extendingDefault(with: [
"CFBundleURLSchemes": ["kakao$(KAKAO_API_KEY)"]
]
],
"LSApplicationQueriesSchemes": ["kakaokompassauth", "kakaolink"],
"LSApplicationQueriesSchemes": [
"kakaokompassauth",
"kakaolink",
"kakaoplus",
"kakaotalk"
],
"NSAppTransportSecurity": [
"NSAllowsArbitraryLoads": true
],
Expand Down
Loading