This commit is contained in:
Trey t
2026-02-18 10:54:25 -06:00
parent 2fc4a48fc9
commit ffe5716167
4 changed files with 33 additions and 4 deletions

View File

@@ -247,7 +247,10 @@ class MainActivity : ComponentActivity(), SingletonImageLoader.Factory {
private fun handleDeepLink(intent: Intent?) {
val data: Uri? = intent?.data
if (data != null && data.scheme == "mycrib" && data.host == "reset-password") {
val isResetLink = data != null &&
data.scheme == "casera" &&
data.host == "reset-password"
if (isResetLink) {
// Extract token from query parameter
val token = data.getQueryParameter("token")
if (token != null) {
@@ -320,4 +323,4 @@ class MainActivity : ComponentActivity(), SingletonImageLoader.Factory {
@Composable
fun AppAndroidPreview() {
App(deepLinkResetToken = null)
}
}