라이브, 콘텐츠, 채널 공유 재추가

- AppsFlyer OneLink로 공유링크 생성
This commit is contained in:
Yu Sung
2025-03-07 01:30:39 +09:00
parent 285eb585e0
commit 4a0ccfa075
4 changed files with 57 additions and 3 deletions

View File

@@ -200,6 +200,19 @@ final class ContentDetailViewModel: ObservableObject {
}
func shareAudioContent(contentImage: String, contentTitle: String) {
isLoading = true
let shareUrl = "https://voiceon.onelink.me/RkTm?" +
"af_dp=voiceon://" +
"&deep_link_value=content" +
"&deep_link_sub5=\(contentId)" +
"&af_og_title=\(contentTitle)" +
"&af_og_description=지금 보이스온에서 이 콘텐츠 감상하기" +
"&af_og_image=\(contentImage)"
self.isLoading = false
self.shareMessage = shareUrl
self.isShowShareView = true
}
func registerComment(comment: String, isSecret: Bool) {