사용방법 블로그 URL 수정
This commit is contained in:
parent
bf75835c69
commit
98d895f91f
|
@ -332,7 +332,7 @@ class AudioContentDetailViewModel(
|
||||||
) {
|
) {
|
||||||
isLoading.value = true
|
isLoading.value = true
|
||||||
Firebase.dynamicLinks.shortLinkAsync(ShortDynamicLink.Suffix.SHORT) {
|
Firebase.dynamicLinks.shortLinkAsync(ShortDynamicLink.Suffix.SHORT) {
|
||||||
link = Uri.parse("https://sodalive.day/?audio_content_id=$audioContentId")
|
link = Uri.parse("https://sodalive.net/?audio_content_id=$audioContentId")
|
||||||
domainUriPrefix = "https://sodalive.page.link"
|
domainUriPrefix = "https://sodalive.page.link"
|
||||||
androidParameters { }
|
androidParameters { }
|
||||||
iosParameters("kr.co.vividnext.sodalive") {
|
iosParameters("kr.co.vividnext.sodalive") {
|
||||||
|
@ -340,7 +340,7 @@ class AudioContentDetailViewModel(
|
||||||
}
|
}
|
||||||
socialMetaTagParameters {
|
socialMetaTagParameters {
|
||||||
title = contentTitle
|
title = contentTitle
|
||||||
description = "지금 요즘라이브에서 이 콘텐츠 감상하기"
|
description = "지금 소다라이브에서 이 콘텐츠 감상하기"
|
||||||
imageUrl = contentImage.toUri()
|
imageUrl = contentImage.toUri()
|
||||||
}
|
}
|
||||||
}.addOnSuccessListener {
|
}.addOnSuccessListener {
|
||||||
|
|
|
@ -295,7 +295,7 @@ class UserProfileViewModel(
|
||||||
fun shareChannel(userId: Long, onSuccess: (String) -> Unit) {
|
fun shareChannel(userId: Long, onSuccess: (String) -> Unit) {
|
||||||
_isLoading.value = true
|
_isLoading.value = true
|
||||||
Firebase.dynamicLinks.shortLinkAsync(ShortDynamicLink.Suffix.SHORT) {
|
Firebase.dynamicLinks.shortLinkAsync(ShortDynamicLink.Suffix.SHORT) {
|
||||||
link = Uri.parse("https://sodalive.day/?channel_id=$userId")
|
link = Uri.parse("https://sodalive.net/?channel_id=$userId")
|
||||||
domainUriPrefix = "https://sodalive.page.link"
|
domainUriPrefix = "https://sodalive.page.link"
|
||||||
androidParameters { }
|
androidParameters { }
|
||||||
iosParameters("kr.co.vividnext.sodalive") {
|
iosParameters("kr.co.vividnext.sodalive") {
|
||||||
|
@ -304,7 +304,7 @@ class UserProfileViewModel(
|
||||||
}.addOnSuccessListener {
|
}.addOnSuccessListener {
|
||||||
val uri = it.shortLink
|
val uri = it.shortLink
|
||||||
if (uri != null) {
|
if (uri != null) {
|
||||||
onSuccess("요즘라이브 ${creatorNickname}님의 채널입니다.\n$uri")
|
onSuccess("소다라이브 ${creatorNickname}님의 채널입니다.\n$uri")
|
||||||
}
|
}
|
||||||
}.addOnFailureListener {
|
}.addOnFailureListener {
|
||||||
_toastLiveData.postValue("공유링크를 생성하지 못했습니다.\n다시 시도해 주세요.")
|
_toastLiveData.postValue("공유링크를 생성하지 못했습니다.\n다시 시도해 주세요.")
|
||||||
|
|
|
@ -139,7 +139,7 @@ class MyPageFragment : BaseFragment<FragmentMyBinding>(FragmentMyBinding::inflat
|
||||||
ivHowToUseLp.height = (200 * screenWidth) / 1080
|
ivHowToUseLp.height = (200 * screenWidth) / 1080
|
||||||
binding.ivHowToUse.layoutParams = ivHowToUseLp
|
binding.ivHowToUse.layoutParams = ivHowToUseLp
|
||||||
binding.ivHowToUse.setOnClickListener {
|
binding.ivHowToUse.setOnClickListener {
|
||||||
val url = "https://blog.naver.com/yozmlive"
|
val url = "https://blog.naver.com/sodalive_official"
|
||||||
if (URLUtil.isValidUrl(url)) {
|
if (URLUtil.isValidUrl(url)) {
|
||||||
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(url)))
|
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(url)))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue