diff --git a/Runnect-iOS/Podfile b/Runnect-iOS/Podfile index c9ac53f9..9c98c78e 100644 --- a/Runnect-iOS/Podfile +++ b/Runnect-iOS/Podfile @@ -16,6 +16,8 @@ target 'Runnect-iOS' do pod 'KakaoSDKShare' pod 'KakaoSDKTemplate' pod 'FirebaseDynamicLinks' + pod 'KakaoSDKTalk' + pod 'DropDown', :git => 'https://github.com/thingineeer/DropDown.git', :commit => '95ee36f7bd925d466033c2c169979f1c574bf3b9' # Pods for Runnect-iOS diff --git a/Runnect-iOS/Podfile.lock b/Runnect-iOS/Podfile.lock index 5b4d89c1..31f52b6c 100644 --- a/Runnect-iOS/Podfile.lock +++ b/Runnect-iOS/Podfile.lock @@ -1,5 +1,6 @@ PODS: - Alamofire (5.7.1) + - DropDown (2.3.13) - FirebaseCore (10.14.0): - FirebaseCoreInternal (~> 10.0) - GoogleUtilities/Environment (~> 7.8) @@ -25,6 +26,9 @@ PODS: - KakaoSDKShare (2.16.0): - KakaoSDKCommon (= 2.16.0) - KakaoSDKTemplate (= 2.16.0) + - KakaoSDKTalk (2.16.0): + - KakaoSDKTemplate (= 2.16.0) + - KakaoSDKUser (= 2.16.0) - KakaoSDKTemplate (2.16.0): - KakaoSDKCommon/Common (= 2.16.0) - KakaoSDKUser (2.16.0): @@ -42,10 +46,12 @@ PODS: - Then (3.0.0) DEPENDENCIES: + - DropDown (from `https://github.com/thingineeer/DropDown.git`, commit `95ee36f7bd925d466033c2c169979f1c574bf3b9`) - FirebaseDynamicLinks - KakaoSDKAuth - KakaoSDKCommon - KakaoSDKShare + - KakaoSDKTalk - KakaoSDKTemplate - KakaoSDKUser - Kingfisher (~> 7.0) @@ -64,6 +70,7 @@ SPEC REPOS: - KakaoSDKAuth - KakaoSDKCommon - KakaoSDKShare + - KakaoSDKTalk - KakaoSDKTemplate - KakaoSDKUser - Kingfisher @@ -74,8 +81,19 @@ SPEC REPOS: - SnapKit - Then +EXTERNAL SOURCES: + DropDown: + :commit: 95ee36f7bd925d466033c2c169979f1c574bf3b9 + :git: https://github.com/thingineeer/DropDown.git + +CHECKOUT OPTIONS: + DropDown: + :commit: 95ee36f7bd925d466033c2c169979f1c574bf3b9 + :git: https://github.com/thingineeer/DropDown.git + SPEC CHECKSUMS: Alamofire: 0123a34370cb170936ae79a8df46cc62b2edeb88 + DropDown: bf260fd688978138019ad7d94f63a2362dad85ba FirebaseCore: 6fc17ac9f03509d51c131298aacb3ee5698b4f02 FirebaseCoreInternal: d558159ee6cc4b823c2296ecc193de9f6d9a5bb3 FirebaseDynamicLinks: 0eaabff2d0e5d0e576c0227227b00771aa2f3aaf @@ -83,6 +101,7 @@ SPEC CHECKSUMS: KakaoSDKAuth: 1b85ed7c41b0517bfd1fc9dc46c292c75b8cb610 KakaoSDKCommon: d6579aa2e9d963d74e13d741cbf1cce48b8b0c17 KakaoSDKShare: efc0415c4f33274232604eeaf96fb03641facdca + KakaoSDKTalk: 44545bd9a1ebc144795eb6e927960b10cf8252f5 KakaoSDKTemplate: 7e478a3cda6f5879b475546bfcd667b464fbb6d0 KakaoSDKUser: 427e5b3884abd19ee6d9a7bd6e3f3029eb2968b8 Kingfisher: 59f908b6d2f403b0a3e539debb0eec05cb27002c @@ -93,6 +112,6 @@ SPEC CHECKSUMS: SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25 Then: 844265ae87834bbe1147d91d5d41a404da2ec27d -PODFILE CHECKSUM: 43e89e9e217761b44c0c7e93fb4abfab29a82ece +PODFILE CHECKSUM: 5bd73b39108f7bc1302e8303d79fefc7783805a5 COCOAPODS: 1.12.1 diff --git a/Runnect-iOS/Runnect-iOS/Info.plist b/Runnect-iOS/Runnect-iOS/Info.plist index dce22c41..2e92d261 100644 --- a/Runnect-iOS/Runnect-iOS/Info.plist +++ b/Runnect-iOS/Runnect-iOS/Info.plist @@ -52,6 +52,7 @@ kakaokompassauth kakaolink + kakaoplus LSRequiresIPhoneOS diff --git a/Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/MyPageVC.swift b/Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/MyPageVC.swift index d4e7d80e..a2ffebfa 100644 --- a/Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/MyPageVC.swift +++ b/Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/MyPageVC.swift @@ -10,6 +10,8 @@ import UIKit import SnapKit import Then import Moya +import KakaoSDKTalk +import KakaoSDKUser final class MyPageVC: UIViewController { @@ -254,7 +256,8 @@ extension MyPageVC { @objc private func touchUpkakaoChannelAsk() { - if let url = URL(string: "https://pf.kakao.com/_hXduG") { + + if let url = TalkApi.shared.makeUrlForChannelChat(channelPublicId: "_hXduG") { UIApplication.shared.open(url) } }