라이브, 콘텐츠, 채널 공유 재추가
- AppsFlyer OneLink로 공유링크 생성
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user