Skip to content

Commit

Permalink
[IDLE-516] DeepLink Parameter 이름 deep_link_value 로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Nov 13, 2024
1 parent 9f230ef commit a0e15d1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ class MainActivity : AppCompatActivity() {

private fun handleDeepLink(deepLink: DeepLink) {
try {
val sharedJobPostingId = deepLink.getStringValue("sharedJobPostingId")
val sharedJobPostingType = deepLink.getStringValue("sharedJobPostingType")
val sharedJobPostingId = deepLink.getStringValue("deep_link_value")
val sharedJobPostingType = deepLink.getStringValue("deep_link_sub1")
viewModel.setSharedJobPostingInfo(
SharedJobPostingInfo(
jobPostingId = sharedJobPostingId ?: return,
Expand Down Expand Up @@ -408,7 +408,8 @@ class MainActivity : AppCompatActivity() {

private fun shareJobPosting(sharedJobPostingInfo: ShareJobPostingInfo) {
val oneLinkUrl =
"https://caremeet.onelink.me/dXPO/edg5vvwt?sharedJobPostingId=${sharedJobPostingInfo.id}&sharedJobPostingType=${sharedJobPostingInfo.type}"
"https://caremeet.onelink.me/dXPO/edg5vvwt?deep_link_value=${sharedJobPostingInfo.id}&deep_link_sub1=${sharedJobPostingInfo.type}"

val jobPostingFeed = FeedTemplate(
content = Content(
title = sharedJobPostingInfo.centerName,
Expand Down

0 comments on commit a0e15d1

Please sign in to comment.