Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

feat(mobile): link nodeterm for Android on Google Play

reviewde42e3266ee0
diff --git a/README.md b/README.md
index b5bf285fa..fe3adfc02 100644
--- a/README.md
+++ b/README.md
@@ -225,6 +225,8 @@ detects your platform. Everything is also listed at
[report what breaks](https://github.com/eneskirca/nodeterm/issues).
- **iOS** — **nodeterm mobile** on the
[App Store](https://apps.apple.com/app/nodeterm/id6790581233).
+- **Android** — **nodeterm mobile** on
+ [Google Play](https://play.google.com/store/apps/details?id=com.nodeterm.android).
**Trying it out?** Removal is one script — it stops every process nodeterm started, reverts
the status-hook/skill entries it merged into your agent CLIs' config (your own hooks and
diff --git a/src/renderer/components/MobileLaunchCard.test.tsx b/src/renderer/components/MobileLaunchCard.test.tsx
index 2398d9c1d..d5eb00cb8 100644
--- a/src/renderer/components/MobileLaunchCard.test.tsx
+++ b/src/renderer/components/MobileLaunchCard.test.tsx
@@ -2,7 +2,7 @@
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
import { act } from 'react'
import { createRoot, type Root } from 'react-dom/client'
-import { IOS_APP_STORE_URL } from '@renderer/lib/links'
+import { ANDROID_PLAY_STORE_URL, IOS_APP_STORE_URL } from '@renderer/lib/links'
import { MobileLaunchCard } from './MobileLaunchCard'
;(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true
@@ -27,14 +27,14 @@ describe('MobileLaunchCard', () => {
it('names the store generically and offers exactly the published store buttons', () => {
act(() => root.render(<MobileLaunchCard onClose={() => {}} />))
const text = document.body.textContent ?? ''
- expect(text).toContain('nodeterm mobile is now on the App Store')
+ expect(text).toContain('nodeterm mobile is now on the App Store or Google Play')
expect(text).not.toContain('iOS app')
- expect(text).not.toContain('Google Play') // not published yet
const buttons = [...document.body.querySelectorAll('button')].map((b) => b.textContent?.trim())
- expect(buttons).toEqual(['Get it on the App Store', 'Close'])
- act(() => {
- ;[...document.body.querySelectorAll('button')][0].click()
- })
+ expect(buttons).toEqual(['Get it on the App Store', 'Get it on Google Play', 'Close'])
+ const [appStore, play] = [...document.body.querySelectorAll('button')]
+ act(() => appStore.click())
expect(openExternal).toHaveBeenCalledWith(IOS_APP_STORE_URL)
+ act(() => play.click())
+ expect(openExternal).toHaveBeenCalledWith(ANDROID_PLAY_STORE_URL)
})
})
diff --git a/src/renderer/components/settings/sections/LicenseSection.test.tsx b/src/renderer/components/settings/sections/LicenseSection.test.tsx
index d76292043..a8084eb8c 100644
--- a/src/renderer/components/settings/sections/LicenseSection.test.tsx
+++ b/src/renderer/components/settings/sections/LicenseSection.test.tsx
@@ -343,7 +343,7 @@ describe('LicenseSection — existing App Store purchase (#787)', () => {
it('offers pairing before checkout and beside the key input without promising recovery', async () => {
await mount(FREE)
const messages = [...host.querySelectorAll('p')].filter((p) =>
- p.textContent?.includes('Already have Pro from the App Store?')
+ p.textContent?.includes('Already have Pro from the App Store or Google Play?')
)
expect(messages).toHaveLength(2)
expect(messages[0].closest('details')).toBeNull()
diff --git a/src/renderer/components/settings/sections/PhoneSection.platform.test.tsx b/src/renderer/components/settings/sections/PhoneSection.platform.test.tsx
index 855418b40..2b42a75aa 100644
--- a/src/renderer/components/settings/sections/PhoneSection.platform.test.tsx
+++ b/src/renderer/components/settings/sections/PhoneSection.platform.test.tsx
@@ -3,7 +3,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
import { act } from 'react'
import { createRoot, type Root } from 'react-dom/client'
import type { PairedDevice } from '@shared/types'
-import { IOS_APP_STORE_URL } from '@renderer/lib/links'
+import { ANDROID_PLAY_STORE_URL, IOS_APP_STORE_URL } from '@renderer/lib/links'
import { PhoneSection } from './PhoneSection'
;(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true
@@ -42,19 +42,22 @@ afterEach(() => {
})
describe('PhoneSection copy is platform-neutral', () => {
- it('speaks of the nodeterm mobile app, lists the phone by the name it sent, links only the App Store', async () => {
+ it('speaks of the nodeterm mobile app, lists the phone by the name it sent, links both stores', async () => {
act(() => root.render(<PhoneSection isActive />))
await act(async () => undefined) // mount-time listDevices
const text = host.textContent ?? ''
expect(text).toContain('Pair the nodeterm mobile app')
expect(text).not.toContain('nodeterm iOS app')
expect(text).toContain('Android') // the device list shows the phone-sent name
- expect(text).not.toContain('Google Play')
- const store = [...host.querySelectorAll('button')].find(
- (b) => b.textContent?.trim() === 'Get it on the App Store'
- )
+ const button = (label: string): HTMLButtonElement | undefined =>
+ [...host.querySelectorAll('button')].find((b) => b.textContent?.trim() === label)
+ const store = button('Get it on the App Store')
expect(store).toBeTruthy()
act(() => store!.click())
expect(openExternal).toHaveBeenCalledWith(IOS_APP_STORE_URL)
+ const play = button('Get it on Google Play')
+ expect(play).toBeTruthy()
+ act(() => play!.click())
+ expect(openExternal).toHaveBeenCalledWith(ANDROID_PLAY_STORE_URL)
})
})
diff --git a/src/renderer/lib/links.test.ts b/src/renderer/lib/links.test.ts
index 1cc5b656e..74f550a57 100644
--- a/src/renderer/lib/links.test.ts
+++ b/src/renderer/lib/links.test.ts
@@ -8,15 +8,20 @@ import {
} from './links'
describe('mobile store links', () => {
- it('ships with the Android listing switched OFF (it does not exist yet)', () => {
- expect(ANDROID_APP_PUBLISHED).toBe(false)
+ it('ships with the Android listing switched ON (Play listing is public)', () => {
+ expect(ANDROID_APP_PUBLISHED).toBe(true)
})
- it('by default offers only the App Store — no dead Play link', () => {
- const links = mobileStoreLinks()
+ it('by default offers both stores, App Store first', () => {
+ expect(mobileStoreLinks().map((l) => l.url)).toEqual([IOS_APP_STORE_URL, ANDROID_PLAY_STORE_URL])
+ expect(mobileStoreNames()).toBe('the App Store or Google Play')
+ })
+
+ it('offers only the App Store — no dead Play link — while Android is unpublished', () => {
+ const links = mobileStoreLinks(false)
expect(links.map((l) => l.url)).toEqual([IOS_APP_STORE_URL])
expect(JSON.stringify(links)).not.toContain('play.google.com')
- expect(mobileStoreNames()).toBe('the App Store')
+ expect(mobileStoreNames(false)).toBe('the App Store')
})
it('adds Google Play, after the App Store, once published', () => {
diff --git a/src/renderer/lib/links.ts b/src/renderer/lib/links.ts
index 06a8b4b9c..2a6f4b7e9 100644
--- a/src/renderer/lib/links.ts
+++ b/src/renderer/lib/links.ts
@@ -3,15 +3,16 @@
export const IOS_APP_STORE_URL = 'https://apps.apple.com/app/nodeterm/id6790581233'
/**
- * nodeterm mobile for Android on Google Play. The listing DOES NOT EXIST YET — this is the package
- * id the Android app ships under. Nothing renders it until `ANDROID_APP_PUBLISHED` is true, so no
- * build ever ships a link to a 404.
+ * nodeterm mobile for Android on Google Play — the package id the Android app ships under
+ * (1.0.0, published 2026-11). Render it through `mobileStoreLinks()`, which gates it on
+ * `ANDROID_APP_PUBLISHED`.
*/
export const ANDROID_PLAY_STORE_URL =
'https://play.google.com/store/apps/details?id=com.nodeterm.android'
-/** Flip to `true` the day the Play listing is public — the ONE switch for every surface. */
-export const ANDROID_APP_PUBLISHED: boolean = false
+/** The ONE switch for every surface: `true` since the Play listing went public. Turning it off
+ * again (listing pulled) removes the Play link everywhere at once. */
+export const ANDROID_APP_PUBLISHED: boolean = true
export interface MobileStoreLink {
id: 'app-store' | 'google-play'
@@ -49,7 +50,7 @@ export function mobileStoreLinks(
return links
}
-/** "the App Store" today; "the App Store or Google Play" once Android is published. */
+/** "the App Store or Google Play" (just "the App Store" while Android is unpublished). */
export function mobileStoreNames(androidPublished: boolean = ANDROID_APP_PUBLISHED): string {
return mobileStoreLinks(androidPublished)
.map((l) => l.prose)