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
test(android): keep the installed app's settings after the identity test
leepokai7b0ae62b9cde
diff --git a/apps/android/app/src/androidTest/kotlin/com/codync/android/AnalyticsIdentityTest.kt b/apps/android/app/src/androidTest/kotlin/com/codync/android/AnalyticsIdentityTest.ktindex 32016e37..959ea826 100644--- a/apps/android/app/src/androidTest/kotlin/com/codync/android/AnalyticsIdentityTest.kt+++ b/apps/android/app/src/androidTest/kotlin/com/codync/android/AnalyticsIdentityTest.kt@@ -25,17 +25,24 @@ class AnalyticsIdentityTest {var events = emptyList<JsonObject>()instrumentation.runOnMainSync {Analytics.start(context)- dropQueue()- stored.edit().remove("identified").commit()+ // The installed app's own settings, put back below.+ val sharing = Analytics.enabled+ val identified = stored.getStringSet("identified", null)val userId = Analytics.userId- for (user in listOf("user_1", "user_2")) {- Analytics.userId = { user }- Analytics.record("signed_in", emptyMap())+ try {+ dropQueue()+ stored.edit().remove("identified").commit()+ for (user in listOf("user_1", "user_2")) {+ Analytics.userId = { user }+ Analytics.record("signed_in", emptyMap())+ }+ events = Analytics.pending.toList()+ } finally {+ dropQueue()+ Analytics.setEnabled(sharing)+ Analytics.userId = userId+ stored.edit().putStringSet("identified", identified).commit()}- events = Analytics.pending.toList()- dropQueue()- Analytics.userId = userId- stored.edit().remove("identified").commit()}assertEquals(listOf("\$identify" to "user_1", "signed_in" to "user_1", "signed_in" to "user_2"),