Skip to content

Commit

Permalink
[CHORE} #228 사용하지 않는 import문 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
unam98 committed Feb 15, 2024
1 parent d1f3853 commit 1cd2c95
Showing 1 changed file with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.runnect.runnect.presentation.detail

import android.app.Activity
import android.content.ActivityNotFoundException
import android.content.Intent
import android.graphics.Rect
import android.net.Uri
Expand All @@ -10,21 +9,12 @@ import android.view.Gravity
import android.view.MotionEvent
import android.view.View
import android.widget.EditText
import android.widget.Toast
import androidx.activity.OnBackPressedCallback
import androidx.activity.viewModels
import androidx.core.view.isVisible
import coil.load
import com.google.firebase.dynamiclinks.DynamicLink
import com.google.firebase.dynamiclinks.FirebaseDynamicLinks
import com.gun0912.tedpermission.provider.TedPermissionProvider.context
import com.kakao.sdk.common.util.KakaoCustomTabsClient
import com.kakao.sdk.link.LinkClient
import com.kakao.sdk.link.WebSharerClient
import com.kakao.sdk.template.model.Button
import com.kakao.sdk.template.model.Content
import com.kakao.sdk.template.model.FeedTemplate
import com.kakao.sdk.template.model.Link
import com.naver.maps.geometry.LatLng
import com.runnect.runnect.R
import com.runnect.runnect.binding.BindingActivity
Expand Down Expand Up @@ -258,15 +248,15 @@ class CourseDetailActivity :
FirebaseDynamicLinks.getInstance().createDynamicLink()
.setLink(Uri.parse(link))
.setDomainUriPrefix("https://rnnt.page.link")
// Set parameters
.setAndroidParameters(DynamicLink.AndroidParameters.Builder().build())
.setIosParameters(DynamicLink.IosParameters.Builder("com.runnect.Runnect-iOS").build())
.setSocialMetaTagParameters(
DynamicLink.SocialMetaTagParameters.Builder()
.setTitle(title)
.setDescription(desc)
.setImageUrl(Uri.parse(image))
.build())
.build()
)
.buildShortDynamicLink()
.addOnSuccessListener { result ->
val shortLink = result.shortLink
Expand Down

0 comments on commit 1cd2c95

Please sign in to comment.