Skip to content

Commit

Permalink
fix: 딥링크 iOS 추가 (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhz committed Aug 30, 2024
1 parent 861fab2 commit 8755e38
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import android.net.Uri
import com.easyhz.noffice.core.common.util.Encryption
import com.google.firebase.dynamiclinks.FirebaseDynamicLinks
import com.google.firebase.dynamiclinks.androidParameters
import com.google.firebase.dynamiclinks.ktx.iosParameters
import com.google.firebase.dynamiclinks.shortLinkAsync
import dagger.hilt.android.qualifiers.ApplicationContext
import kotlinx.coroutines.tasks.await
Expand Down Expand Up @@ -35,6 +36,10 @@ class DeepLinkRepositoryImpl @Inject constructor(
fallbackUrl = Uri.parse("https://play.google.com/store/apps/details?id=com.easyhz.noffice.release")
minimumVersion = 1
}
iosParameters("noontime.noffice.app") {
appStoreId = "6529546973"
minimumVersion = "1.0.0"
}
}
val links = dynamicLinks.await()
links.shortLink ?: throw Exception("Failed to create dynamic link")
Expand Down

0 comments on commit 8755e38

Please sign in to comment.