Mario Andhika
10/31/2025, 9:03 AMval scope = rememberCoroutineScope()
val uriHandler = LocalUriHandler.current
Row(modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.Center) {
Button({
scope.launch {
viewModel.upgradeCommunity()?.let { url ->
uriHandler.openUri(url)
}
}
}) {
Text("Subscribe")
}
}
On Safari it won’t open the Url. I’ve checked that the url is correctCLOVIS
10/31/2025, 9:26 AM<a> tags so the browser knows it's the user's intentMario Andhika
10/31/2025, 9:29 AM