라이브, 콘텐츠, 채널 공유 재추가
- AppsFlyer OneLink로 공유링크 생성
This commit is contained in:
		@@ -398,7 +398,17 @@ final class UserProfileViewModel: ObservableObject {
 | 
			
		||||
            .store(in: &subscription)
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    func shareChannel(userId: Int) {
 | 
			
		||||
    func shareChannel(userId: Int, nickname: String, profileImage: String) {        
 | 
			
		||||
        let shareUrl = "https://voiceon.onelink.me/RkTm?" +
 | 
			
		||||
        "af_dp=voiceon://" +
 | 
			
		||||
        "&deep_link_value=channel" +
 | 
			
		||||
        "&deep_link_sub5=\(userId)" +
 | 
			
		||||
        "&af_og_title=보이스온" +
 | 
			
		||||
        "&af_og_description=보이스온 \(nickname)님의 채널입니다." +
 | 
			
		||||
        "&af_og_image=\(profileImage)"
 | 
			
		||||
        
 | 
			
		||||
        self.shareMessage = "보이스온 \(nickname)님의 채널입니다.\n\(shareUrl)"
 | 
			
		||||
        self.isShowShareView = true
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    func userBlock(userId: Int) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user