Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
fix(android): don't show the review invitation over a screen opened while it loads
leepokaifa68e240af83
diff --git a/apps/android/app/src/main/kotlin/com/codync/android/ReviewPrompt.kt b/apps/android/app/src/main/kotlin/com/codync/android/ReviewPrompt.ktindex 047a0294..1f0c3b33 100644--- a/apps/android/app/src/main/kotlin/com/codync/android/ReviewPrompt.kt+++ b/apps/android/app/src/main/kotlin/com/codync/android/ReviewPrompt.kt@@ -10,6 +10,7 @@ import androidx.compose.runtime.getValueimport androidx.compose.runtime.mutableStateOfimport androidx.compose.runtime.rememberimport androidx.compose.runtime.rememberCoroutineScope+import androidx.compose.runtime.rememberUpdatedStateimport androidx.compose.runtime.setValueimport androidx.compose.ui.platform.LocalContextimport androidx.core.content.edit@@ -116,8 +117,10 @@ internal val AppState.settledForReview: Boolean@Composable internal fun ReviewInvitationEffect(blocked: Boolean) {val context = LocalContext.currentval token by ReviewPrompt.opportunity.collectAsState()- // `request` clears the opportunity, which restarts this effect, so Play's request runs outside it.+ // `request` clears the opportunity, which restarts this effect, so Play's request runs outside it+ // and checks the screen again before it shows.val scope = rememberCoroutineScope()+ val covered by rememberUpdatedState(blocked)LaunchedEffect(token, blocked) {val opportunity = token ?: return@LaunchedEffectif (blocked) { ReviewPrompt.cancel(context, ReviewCancellation.Unavailable); return@LaunchedEffect }@@ -127,7 +130,8 @@ internal val AppState.settledForReview: Booleanscope.launch {try {val manager = ReviewManagerFactory.create(context)- manager.launchReview(activity, manager.requestReview())+ val review = manager.requestReview()+ if (!covered) manager.launchReview(activity, review)} catch (cancelled: CancellationException) { throw cancelled }catch (error: Exception) { android.util.Log.i("Codync", "Review prompt unavailable: ${error.message}") }}