Skip to content

Commit 151815e

Browse files
Merge pull request #78 from PopPool/seg1.0/seg2.0,4.0/FIX
[FEAT]: ์• ํ”Œ์ง€๋„ ์•ฑ์Šคํ† ์–ด URL ์ถ”๊ฐ€ info์ˆ˜์ •
2 parents 4bb4be0 + bf7946b commit 151815e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

โ€ŽPoppool/Poppool/Presentation/Map/FindMap/MapGuideView/MapGuideReactor.swiftโ€Ž

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,9 @@ final class MapGuideReactor: Reactor {
107107
"tmap://route?goalname=๋ชฉ์ ์ง€&goaly=\(coordinate.latitude)&goalx=\(coordinate.longitude)",
108108
"https://apps.apple.com/kr/app/id431589174"
109109
),
110-
// ์• ํ”Œ ์ง€๋„ ์ถ”๊ฐ€
111110
"apple": (
112111
"maps://?q=\(encodedName)&ll=\(coordinate.latitude),\(coordinate.longitude)&z=16",
113-
""
112+
"https://apps.apple.com/kr/app/id1108185179"
114113
)
115114
]
116115

@@ -126,8 +125,7 @@ final class MapGuideReactor: Reactor {
126125
UIApplication.shared.open(url, options: [:], completionHandler: nil)
127126
return Observable.empty()
128127
} else {
129-
// ์• ํ”Œ ์ง€๋„๋Š” ๊ธฐ๋ณธ ์•ฑ์ด๋ฏ€๋กœ ์ด ์กฐ๊ฑด์— ๊ฑธ๋ฆฌ์ง€ ์•Š์•„์•ผ ํ•จ
130-
// ํ•˜์ง€๋งŒ ํ˜น์‹œ ๋ชจ๋ฅผ ์ƒํ™ฉ์„ ๋Œ€๋น„ํ•ด ์ฒ˜๋ฆฌ
128+
131129
if appType.lowercased() == "apple" {
132130
return Observable.just(.showToast("์• ํ”Œ ์ง€๋„ ์•ฑ์„ ์—ด ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค."))
133131
} else {

โ€ŽPoppool/Poppool/Presentation/Map/FindMap/MapGuideView/MapGuideViewController.swiftโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ final class MapGuideViewController: UIViewController, View {
141141
.bind(to: reactor.action)
142142
.disposed(by: disposeBag)
143143
appleButton.rx.tap
144-
.map { Reactor.Action.openMapApp("AppleMap") }
144+
.map { Reactor.Action.openMapApp("apple") }
145145
.bind(to: reactor.action)
146146
.disposed(by: disposeBag)
147147

โ€ŽPoppool/Poppool/Resource/Info.plistโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<string>nmap</string>
2222
<string>kakaomap</string>
2323
<string>tmap</string>
24+
<string>maps</string>
2425
</array>
2526
<key>UIAppFonts</key>
2627
<array>

0 commit comments

Comments
ย (0)