Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(settings): add Google Play to the Mobile app page (#9371)

Peter Chinman26a4b78f1b6a
diff --git a/apps/docs/apps.mdx b/apps/docs/apps.mdx
index 1b4e9faca0..136f5c3afd 100644
--- a/apps/docs/apps.mdx
+++ b/apps/docs/apps.mdx
@@ -7,13 +7,27 @@ icon: "display"
Macro runs in any modern browser at [macro.com](https://macro.com), with no install required. Desktop is the full Macro experience: the keyboard-driven workflow, and a built-in window manager that lets you multi-task in [splits](/concepts/blocks#splits) inside a single tab, so Macro can replace a pile of browser tabs.
-## iOS
+## Mobile
+
+Macro has apps for iPhone and Android. They connect to the same workspace: notifications, email, chat, tasks, Drive, and agents on your phone. You can also find them in **Settings → Mobile App** in the web app. On a computer it shows a QR code for each store; in a phone browser it links straight to them.
+
+### iOS
+
+<Frame>
+ ![QR code that opens Macro on the App Store](/images/App-Store-QR.png)
+</Frame>
+
+Get the iOS app on the [App Store](https://apps.apple.com/us/app/macro-app/id6743133649).
+
+### Android
<Frame>
- ![Macro Big QR](/images/Macro-Big-QR.png)
+ ![QR code that opens Macro on Google Play](/images/Google-Play-QR.png)
</Frame>
-The Macro iOS app is on the [App Store](https://apps.apple.com/us/app/macro-app/id6743133649). It connects to the same workspace: notifications, email, chat, tasks, Drive, and agents on your phone. You can also grab it from **Settings → Mobile App** in the web app, which shows a QR code.
+Get the Android app on [Google Play](https://play.google.com/store/apps/details?id=com.macro.workspace.mobile).
+
+### Desktop-only features
A few things stay desktop-only by design:
@@ -21,10 +35,6 @@ A few things stay desktop-only by design:
- **Keyboard shortcuts**: the <kbd>c</kbd> launcher and <kbd>j</kbd>/<kbd>k</kbd> navigation are desktop features.
- **Some settings**: managing email inboxes and agent connections is done from desktop.
-## Android
-
-An Android app isn't available yet.
-
<Note>
Self-hosters: the hosted version of Macro is the one with Apple, Google Mail, and GitHub approvals. See the [FAQ](/faq) for what that means for your own deployment.
</Note>
\ No newline at end of file
diff --git a/apps/docs/faq.mdx b/apps/docs/faq.mdx
index 36efac0d18..e3ca5b97bd 100644
--- a/apps/docs/faq.mdx
+++ b/apps/docs/faq.mdx
@@ -46,7 +46,7 @@ description: "How Macro compares to Notion, Superhuman, and Slack, plus licensin
<Accordion title="Can I self-host Macro?">
Yes, you can under our AGPL license, but as of June 2026, this hasn't been our primary focus.
- The hosted version is the one that works with the iOS app and has necessary Apple approval, Google Mail approval, and GitHub approval to integrate your PRs. We're hosted on AWS and maintain a SOC 2 Type II audit. We sublicense LiveKit for video calls, FusionAuth for authentication, PostHog for analytics, and so on, so you'd have to maintain licenses to those services or disable them.
+ The hosted version is the one that works with the iOS and Android apps and has necessary Apple approval, Google Mail approval, and GitHub approval to integrate your PRs. We're hosted on AWS and maintain a SOC 2 Type II audit. We sublicense LiveKit for video calls, FusionAuth for authentication, PostHog for analytics, and so on, so you'd have to maintain licenses to those services or disable them.
Our main focus right now is on making Macro great, but we also want to make it easier to self-host. We hope to turn our attention to this later this year (2026). For FedRAMP and other clients who need Macro on their own infrastructure, please contact [[email protected]](mailto:[email protected]) and we can work with you to get it running. Note that self-hosting isn't a prerequisite for EU data residency — we host in the EU on the managed version too, see [Security](/security).
</Accordion>
diff --git a/apps/docs/images/App-Store-QR.png b/apps/docs/images/App-Store-QR.png
new file mode 100644
index 0000000000..7de907148e
Binary files /dev/null and b/apps/docs/images/App-Store-QR.png differ
diff --git a/apps/docs/images/Google-Play-QR.png b/apps/docs/images/Google-Play-QR.png
new file mode 100644
index 0000000000..34c3cb42c7
Binary files /dev/null and b/apps/docs/images/Google-Play-QR.png differ
diff --git a/apps/docs/images/Macro-Big-QR.png b/apps/docs/images/Macro-Big-QR.png
deleted file mode 100644
index 5366b7c39c..0000000000
Binary files a/apps/docs/images/Macro-Big-QR.png and /dev/null differ
diff --git a/apps/docs/security.mdx b/apps/docs/security.mdx
index 04927f6cb5..90292931ea 100644
--- a/apps/docs/security.mdx
+++ b/apps/docs/security.mdx
@@ -93,7 +93,7 @@ Disconnecting a Gmail account stops future sync but doesn't delete mail that has
Send suspected security issues to [[email protected]](mailto:[email protected]). We pay bounties in accordance with the severity and impact of the finding.
-Please include steps to reproduce, the affected surface (web, iOS, API, or MCP), and any accounts involved, and give us a chance to ship a fix before disclosing publicly. Because the codebase is open source, you can reference specific files or commits.
+Please include steps to reproduce, the affected surface (web, iOS, Android, API, or MCP), and any accounts involved, and give us a chance to ship a fix before disclosing publicly. Because the codebase is open source, you can reference specific files or commits.
<Warning>
Don't file security issues on the public GitHub tracker. Use [[email protected]](mailto:[email protected]) so a report isn't visible before there's a fix.
diff --git a/apps/docs/support.mdx b/apps/docs/support.mdx
index 9b389d207b..ecf188100f 100644
--- a/apps/docs/support.mdx
+++ b/apps/docs/support.mdx
@@ -55,5 +55,5 @@ For specific topics: [[email protected]](mailto:[email protected]) for comme
</AccordionGroup>
<Info>
- When reporting a bug, include your platform (web or iOS), the block type involved (email, doc, channel, …), and a link to the affected item if you have one. It cuts down the back-and-forth.
+ When reporting a bug, include your platform (web, iOS, or Android), the block type involved (email, doc, channel, …), and a link to the affected item if you have one. It cuts down the back-and-forth.
</Info>
\ No newline at end of file
diff --git a/apps/marketing/src/app/routes/RoutePricing.tsx b/apps/marketing/src/app/routes/RoutePricing.tsx
index e527675d9c..fe685afeb6 100644
--- a/apps/marketing/src/app/routes/RoutePricing.tsx
+++ b/apps/marketing/src/app/routes/RoutePricing.tsx
@@ -780,9 +780,9 @@ const faqItems: Array<{ q: string; a: JSX.Element }> = [
a: (
<>
Yes, under our AGPL license, though the hosted version is our primary
- focus today. The hosted version has the iOS app, Apple/Google/GitHub
- approvals, runs on AWS, and maintains a SOC 2 Type II audit. For HIPAA,
- FedRAMP, or other needs, contact{' '}
+ focus today. The hosted version has the iOS and Android apps,
+ Apple/Google/GitHub approvals, runs on AWS, and maintains a SOC 2 Type
+ II audit. For HIPAA, FedRAMP, or other needs, contact{' '}
<a href="mailto:[email protected]">[email protected]</a>.
</>
),
diff --git a/apps/web/src/components/app/sidebar-next/footer-actions.tsx b/apps/web/src/components/app/sidebar-next/footer-actions.tsx
index b8a52da7e1..606e96dd74 100644
--- a/apps/web/src/components/app/sidebar-next/footer-actions.tsx
+++ b/apps/web/src/components/app/sidebar-next/footer-actions.tsx
@@ -38,8 +38,9 @@ const isSettingsActive = () => {
/**
* Get the mobile app: opens the Mobile App settings page, which carries the
- * App Store QR code. Hidden inside the native app, where that page shows the
- * installed app's version instead, and wherever the page is unavailable.
+ * App Store and Google Play links. Hidden inside the native app, where that
+ * page shows the installed app's version instead, and wherever the page is
+ * unavailable.
*/
const MobileAppButton = () => {
const analytics = useAnalytics();
diff --git a/apps/web/src/features/settings/MobileApp.test.tsx b/apps/web/src/features/settings/MobileApp.test.tsx
index 483b99dea1..b85b8fda01 100644
--- a/apps/web/src/features/settings/MobileApp.test.tsx
+++ b/apps/web/src/features/settings/MobileApp.test.tsx
@@ -6,7 +6,8 @@ import { cleanup, fireEvent, render, screen } from '@solidjs/testing-library';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { MobileApp } from './MobileApp';
-vi.mock('@core/mobile/isMobile', () => ({ isMobile: () => false }));
+const device = vi.hoisted(() => ({ phone: false }));
+vi.mock('@core/mobile/isMobile', () => ({ isMobile: () => device.phone }));
vi.mock('@core/component/Toast/Toast', () => ({
toast: { success: vi.fn(), failure: vi.fn() },
}));
@@ -18,8 +19,11 @@ vi.mock('@core/context/user', () => ({
vi.mock('@design/app-store.svg', () => ({
default: () => '<svg data-testid="app-store-qr"></svg>',
}));
+vi.mock('@design/play-store.svg', () => ({
+ default: () => '<svg data-testid="play-store-qr"></svg>',
+}));
vi.mock('@icon/system/regular/arrow-up-right.svg', () => ({
- default: () => '<svg></svg>',
+ default: () => null,
}));
vi.mock('@icon/system/regular/link.svg', () => ({
default: () => '<svg></svg>',
@@ -49,6 +53,9 @@ beforeEach(() => {
afterEach(() => {
cleanup();
+ device.phone = false;
+ Reflect.deleteProperty(navigator, 'userAgent');
+ Reflect.deleteProperty(navigator, 'maxTouchPoints');
motionStyles.remove();
vi.unstubAllGlobals();
vi.clearAllMocks();
@@ -56,6 +63,8 @@ afterEach(() => {
describe('MobileApp', () => {
const APP_STORE_URL = 'https://apps.apple.com/us/app/macro-app/id6743133649';
+ const PLAY_STORE_URL =
+ 'https://play.google.com/store/apps/details?id=com.macro.workspace.mobile';
it('renders the QR code and text', () => {
render(() => <MobileApp />);
@@ -66,16 +75,6 @@ describe('MobileApp', () => {
expect(appStoreText.length).toBeGreaterThan(0);
});
- it('renders the "Open in App Store" link with correct attributes', () => {
- render(() => <MobileApp />);
-
- const link = screen.getByRole('link', { name: /Open in App Store/ });
- expect(link).toBeTruthy();
- expect(link.getAttribute('href')).toBe(APP_STORE_URL);
- expect(link.getAttribute('target')).toBe('_blank');
- expect(link.getAttribute('rel')).toBe('noopener noreferrer');
- });
-
it('renders the "Copy link" button', () => {
render(() => <MobileApp />);
@@ -101,6 +100,21 @@ describe('MobileApp', () => {
});
});
+ it('copies the Google Play URL after switching to Android', async () => {
+ render(() => <MobileApp />);
+
+ fireEvent.click(screen.getByRole('radio', { name: 'Android' }));
+ fireEvent.click(
+ await screen.findByRole('button', { name: /Copy Google Play link/ })
+ );
+
+ await vi.waitFor(() => {
+ expect(navigator.clipboard.writeText).toHaveBeenCalledWith(
+ PLAY_STORE_URL
+ );
+ });
+ });
+
it('shows success toast when copy succeeds', async () => {
const { toast } = await import('@core/component/Toast/Toast');
render(() => <MobileApp />);
@@ -135,4 +149,50 @@ describe('MobileApp', () => {
expect(toast.failure).toHaveBeenCalledWith('Could not copy link');
});
});
+
+ it.each([
+ [
+ 'an iPhone',
+ 'Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X)',
+ 'Download Macro from the App Store.',
+ [['App Store', APP_STORE_URL]],
+ ],
+ [
+ 'an Android phone',
+ 'Mozilla/5.0 (Linux; Android 14; Pixel 8)',
+ 'Download Macro from Google Play.',
+ [['Google Play', PLAY_STORE_URL]],
+ ],
+ [
+ 'an unrecognized phone',
+ 'Mozilla/5.0 (Mobile; rv:48.0)',
+ 'Download Macro from your app store.',
+ [
+ ['App Store', APP_STORE_URL],
+ ['Google Play', PLAY_STORE_URL],
+ ],
+ ],
+ ])(
+ 'links %s to its store without a QR code',
+ (_, userAgent, description, expected) => {
+ device.phone = true;
+ Object.defineProperty(navigator, 'userAgent', {
+ value: userAgent,
+ configurable: true,
+ });
+ Object.defineProperty(navigator, 'maxTouchPoints', {
+ value: 5,
+ configurable: true,
+ });
+ render(() => <MobileApp />);
+
+ expect(screen.getByText(description)).toBeTruthy();
+ expect(
+ screen
+ .getAllByRole('link')
+ .map((link) => [link.textContent, link.getAttribute('href')])
+ ).toEqual(expected);
+ expect(screen.queryByRole('radio')).toBeNull();
+ }
+ );
});
diff --git a/apps/web/src/features/settings/MobileApp.tsx b/apps/web/src/features/settings/MobileApp.tsx
index e6fa7fa410..08efd90ce4 100644
--- a/apps/web/src/features/settings/MobileApp.tsx
+++ b/apps/web/src/features/settings/MobileApp.tsx
@@ -1,13 +1,52 @@
+import { t } from '@app/lib/i18n';
+import { isMobile } from '@core/mobile/isMobile';
import { isNativeMobilePlatform } from '@core/mobile/isNativeMobilePlatform';
+import { storeListingUrl } from '@core/mobile/native-update-link';
+import { storePlatform } from '@core/mobile/storePlatform';
import { useCopyLink } from '@core/util/useCopyLink';
import AppStoreQr from '@design/app-store.svg';
+import PlayStoreQr from '@design/play-store.svg';
import ArrowUpRightIcon from '@icon/system/regular/arrow-up-right.svg';
import LinkIcon from '@icon/system/regular/link.svg';
-import { CopyButton } from '@ui';
+import { buttonClasses, CopyButton, Tabs } from '@ui';
+import { createSignal, For, Show } from 'solid-js';
+import { Dynamic } from 'solid-js/web';
import { NativeAppInfo } from './NativeAppInfo';
import { SettingsCard, SettingsPage } from './primitives';
-const APP_STORE_URL = 'https://apps.apple.com/us/app/macro-app/id6743133649';
+const STORES = {
+ ios: {
+ device: 'iPhone',
+ name: 'App Store',
+ get prompt() {
+ return t('settingsMobileApp.appStorePrompt');
+ },
+ get description() {
+ return t('settingsMobileApp.appStoreDescription');
+ },
+ qr: AppStoreQr,
+ },
+ android: {
+ device: 'Android',
+ name: 'Google Play',
+ get prompt() {
+ return t('settingsMobileApp.googlePlayPrompt');
+ },
+ get description() {
+ return t('settingsMobileApp.googlePlayDescription');
+ },
+ qr: PlayStoreQr,
+ },
+};
+
+type Platform = keyof typeof STORES;
+
+const PLATFORMS: Platform[] = ['ios', 'android'];
+
+const PLATFORM_TABS = PLATFORMS.map((value) => ({
+ value,
+ label: STORES[value].device,
+}));
/** Native APIs are only read when mounted inside the mobile app. */
export function MobileApp() {
@@ -19,44 +58,87 @@ export function MobileApp() {
/>
);
}
- const copy = useCopyLink();
+
+ // A phone gets just its own store when its browser says which phone it is.
+ const detected = storePlatform(navigator.userAgent, navigator.maxTouchPoints);
return (
<SettingsPage
- title="Mobile app"
- description="Scan the code to get Macro on your phone."
+ title={t('settingsMobileApp.title')}
+ description={
+ isMobile()
+ ? storeLinksDescription(detected)
+ : t('settingsMobileApp.scanDescription')
+ }
>
<SettingsCard>
- <div class="flex flex-col items-center justify-center gap-6 py-12">
- <AppStoreQr style="display: block; max-width: 280px;" />
- <p class="text-sm text-ink text-center">
- Download Macro on the
- <br />
- App Store
- </p>
- <div class="flex items-center gap-2">
- <a
- href={APP_STORE_URL}
- target="_blank"
- rel="noopener noreferrer"
- class="inline-flex items-center gap-1.5 h-8 px-3 rounded-lg text-sm font-medium text-ink-muted hover:bg-ink/4 hover:text-ink transition-colors"
- >
- Open in App Store
- <ArrowUpRightIcon class="size-3.5 opacity-70" />
- </a>
- <CopyButton
- aria-label="Copy App Store link"
- variant="ghost"
- size="sm"
- tooltip="Copy App Store link"
- onClick={() => copy(APP_STORE_URL)}
- >
- <LinkIcon class="size-3.5" />
- Copy link
- </CopyButton>
- </div>
- </div>
+ <Show when={isMobile()} fallback={<StoreQrCode />}>
+ <StoreLinks platforms={detected ? [detected] : PLATFORMS} />
+ </Show>
</SettingsCard>
</SettingsPage>
);
}
+
+function storeLinksDescription(platform: Platform | undefined) {
+ if (!platform) return t('settingsMobileApp.storeLinksDescription');
+ return STORES[platform].description;
+}
+
+/** A phone can't scan its own screen, so phones get store links instead. */
+function StoreLinks(props: { platforms: Platform[] }) {
+ return (
+ <div class="flex flex-col gap-2 p-4">
+ <For each={props.platforms}>
+ {(platform) => (
+ <a
+ href={storeListingUrl(platform)}
+ target="_blank"
+ rel="noopener noreferrer"
+ class={buttonClasses({
+ variant: 'secondary',
+ size: 'lg',
+ fullWidth: true,
+ })}
+ >
+ {STORES[platform].name}
+ <ArrowUpRightIcon class="size-4" />
+ </a>
+ )}
+ </For>
+ </div>
+ );
+}
+
+function StoreQrCode() {
+ const copy = useCopyLink();
+ const [platform, setPlatform] = createSignal<Platform>('ios');
+ const store = () => STORES[platform()];
+
+ return (
+ <div class="flex flex-col items-center gap-6 px-6 pt-10 pb-12">
+ <Tabs
+ aria-label={t('settingsMobileApp.phone')}
+ options={PLATFORM_TABS}
+ value={platform()}
+ onChange={setPlatform}
+ />
+ <Dynamic component={store().qr} class="block w-60" />
+ <p class="min-h-10 max-w-44 text-sm text-ink text-center">
+ {store().prompt}
+ </p>
+ <CopyButton
+ aria-label={t('settingsMobileApp.copyStoreLink', {
+ store: store().name,
+ })}
+ variant="ghost"
+ size="sm"
+ tooltip={t('settingsMobileApp.copyStoreLink', { store: store().name })}
+ onClick={() => copy(storeListingUrl(platform()))}
+ >
+ <LinkIcon class="size-3.5" />
+ {t('settingsMobileApp.copyLink')}
+ </CopyButton>
+ </div>
+ );
+}
diff --git a/apps/web/src/lib/core/mobile/native-update-link.test.ts b/apps/web/src/lib/core/mobile/native-update-link.test.ts
index fd4aa78eda..8fbc3b8607 100644
--- a/apps/web/src/lib/core/mobile/native-update-link.test.ts
+++ b/apps/web/src/lib/core/mobile/native-update-link.test.ts
@@ -1,16 +1,16 @@
import { invoke } from '@tauri-apps/api/core';
import { describe, expect, it, vi } from 'vitest';
-import { nativeUpdateLink, openNativeUpdateLink } from './native-update-link';
+import { openNativeUpdateLink, storeListingUrl } from './native-update-link';
vi.mock('@tauri-apps/api/core', () => ({ invoke: vi.fn() }));
describe('native update destination', () => {
it('targets the production Android package using HTTPS', () => {
- const url = new URL(nativeUpdateLink('android'));
+ const url = new URL(storeListingUrl('android'));
expect(url.protocol).toBe('https:');
expect(url.hostname).toBe('play.google.com');
expect(url.searchParams.get('id')).toBe('com.macro.workspace.mobile');
- expect(nativeUpdateLink('ios')).toContain('id6743133649');
+ expect(storeListingUrl('ios')).toContain('id6743133649');
});
it('keeps opener failures recoverable', async () => {
@@ -21,7 +21,7 @@ describe('native update destination', () => {
expect(await openNativeUpdateLink('android')).toBe(false);
expect(await openNativeUpdateLink('android')).toBe(true);
expect(invoke).toHaveBeenLastCalledWith('plugin:opener|open_url', {
- url: nativeUpdateLink('android'),
+ url: storeListingUrl('android'),
});
vi.restoreAllMocks();
});
diff --git a/apps/web/src/lib/core/mobile/native-update-link.ts b/apps/web/src/lib/core/mobile/native-update-link.ts
index b70e654f46..c8ecc6f13d 100644
--- a/apps/web/src/lib/core/mobile/native-update-link.ts
+++ b/apps/web/src/lib/core/mobile/native-update-link.ts
@@ -1,7 +1,7 @@
import { invoke } from '@tauri-apps/api/core';
-/** HTTPS works even when the Play Store app is absent. */
-export function nativeUpdateLink(platform: 'ios' | 'android'): string {
+/** Store listing for the app; HTTPS works even when the Play Store app is absent. */
+export function storeListingUrl(platform: 'ios' | 'android'): string {
return platform === 'android'
? 'https://play.google.com/store/apps/details?id=com.macro.workspace.mobile'
: 'https://apps.apple.com/us/app/macro-app/id6743133649';
@@ -12,7 +12,7 @@ export async function openNativeUpdateLink(
platform: 'ios' | 'android'
): Promise<boolean> {
try {
- await invoke('plugin:opener|open_url', { url: nativeUpdateLink(platform) });
+ await invoke('plugin:opener|open_url', { url: storeListingUrl(platform) });
return true;
} catch (error) {
console.error('[native-update] unable to open store', error);
diff --git a/apps/web/src/lib/core/mobile/storePlatform.test.ts b/apps/web/src/lib/core/mobile/storePlatform.test.ts
new file mode 100644
index 0000000000..37cd60a454
--- /dev/null
+++ b/apps/web/src/lib/core/mobile/storePlatform.test.ts
@@ -0,0 +1,15 @@
+import { describe, expect, it } from 'vitest';
+import { storePlatform } from './storePlatform';
+
+describe('storePlatform', () => {
+ it.each([
+ ['Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X)', 5, 'ios'],
+ ['Mozilla/5.0 (iPad; CPU OS 17_0 like Mac OS X)', 5, 'ios'],
+ ['Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)', 5, 'ios'],
+ ['Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)', 0, undefined],
+ ['Mozilla/5.0 (Linux; Android 14; Pixel 8)', 5, 'android'],
+ ['Mozilla/5.0 (X11; Linux x86_64)', 0, undefined],
+ ])('%s with %i touch points → %s', (userAgent, maxTouchPoints, expected) => {
+ expect(storePlatform(userAgent, maxTouchPoints)).toBe(expected);
+ });
+});
diff --git a/apps/web/src/lib/core/mobile/storePlatform.ts b/apps/web/src/lib/core/mobile/storePlatform.ts
new file mode 100644
index 0000000000..6ff7fe5b9c
--- /dev/null
+++ b/apps/web/src/lib/core/mobile/storePlatform.ts
@@ -0,0 +1,20 @@
+export type StorePlatform = 'ios' | 'android';
+
+/**
+ * The app store this browser's device installs Macro from, or undefined when
+ * the user agent doesn't say (computers, other phones). iPadOS Safari reports
+ * itself as a Mac, so a touch-capable "Macintosh" counts as iOS.
+ */
+export function storePlatform(
+ userAgent: string,
+ maxTouchPoints: number
+): StorePlatform | undefined {
+ if (
+ /iPhone|iPad|iPod/.test(userAgent) ||
+ (/Macintosh/.test(userAgent) && maxTouchPoints > 1)
+ ) {
+ return 'ios';
+ }
+ if (/Android/.test(userAgent)) return 'android';
+ return undefined;
+}
diff --git a/apps/web/src/lib/design/play-store.svg b/apps/web/src/lib/design/play-store.svg
new file mode 100644
index 0000000000..b262086ca3
--- /dev/null
+++ b/apps/web/src/lib/design/play-store.svg
@@ -0,0 +1,20 @@
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ xml:space="preserve"
+ viewBox="0 0 58 121"
+ version="1.1"
+>
+ <g
+ stroke-linejoin="round"
+ stroke-linecap="round"
+ stroke="currentColor"
+ stroke-width="0.2"
+ fill="none"
+ >
+ <path d="M10 2H48A8 8 0 0 1 56 10V27.5A0.5 0.5 0 0 0 56.5 28A0.5 0.5 0 0 1 57 28.5V34.5A0.5 0.5 0 0 1 56.5 35A0.5 0.5 0 0 0 56 35.5V40.5A0.5 0.5 0 0 0 56.5 41A0.5 0.5 0 0 1 57 41.5V54.5A0.5 0.5 0 0 1 56.5 55A0.5 0.5 0 0 0 56 55.5V111A8 8 0 0 1 48 119H10A8 8 0 0 1 2 111V10A8 8 0 0 1 10 2Z"/>
+ <path d="M10 4H48A6 6 0 0 1 54 10V111A6 6 0 0 1 48 117H10A6 6 0 0 1 4 111V10A6 6 0 0 1 10 4Z"/>
+ <circle cx="29" cy="8" r="1.25"/>
+ </g>
+
+ <path fill="currentColor" stroke="none" d="M13 46.5h6.7879v0.9697h-6.7879zM21.7273 46.5h0.9697v0.9697h-0.9697zM25.6061 46.5h0.9697v0.9697h-0.9697zM28.5152 46.5h7.7576v0.9697h-7.7576zM38.2121 46.5h6.7879v0.9697h-6.7879zM13 47.4697h0.9697v0.9697h-0.9697zM18.8182 47.4697h0.9697v0.9697h-0.9697zM20.7576 47.4697h1.9394v0.9697h-1.9394zM23.6667 47.4697h2.9091v0.9697h-2.9091zM27.5455 47.4697h0.9697v0.9697h-0.9697zM30.4545 47.4697h0.9697v0.9697h-0.9697zM32.3939 47.4697h0.9697v0.9697h-0.9697zM38.2121 47.4697h0.9697v0.9697h-0.9697zM44.0303 47.4697h0.9697v0.9697h-0.9697zM13 48.4394h0.9697v0.9697h-0.9697zM14.9394 48.4394h2.9091v0.9697h-2.9091zM18.8182 48.4394h0.9697v0.9697h-0.9697zM21.7273 48.4394h2.9091v0.9697h-2.9091zM26.5758 48.4394h0.9697v0.9697h-0.9697zM31.4242 48.4394h2.9091v0.9697h-2.9091zM35.303 48.4394h0.9697v0.9697h-0.9697zM38.2121 48.4394h0.9697v0.9697h-0.9697zM40.1515 48.4394h2.9091v0.9697h-2.9091zM44.0303 48.4394h0.9697v0.9697h-0.9697zM13 49.4091h0.9697v0.9697h-0.9697zM14.9394 49.4091h2.9091v0.9697h-2.9091zM18.8182 49.4091h0.9697v0.9697h-0.9697zM20.7576 49.4091h1.9394v0.9697h-1.9394zM23.6667 49.4091h0.9697v0.9697h-0.9697zM25.6061 49.4091h4.8485v0.9697h-4.8485zM31.4242 49.4091h1.9394v0.9697h-1.9394zM34.3333 49.4091h2.9091v0.9697h-2.9091zM38.2121 49.4091h0.9697v0.9697h-0.9697zM40.1515 49.4091h2.9091v0.9697h-2.9091zM44.0303 49.4091h0.9697v0.9697h-0.9697zM13 50.3788h0.9697v0.9697h-0.9697zM14.9394 50.3788h2.9091v0.9697h-2.9091zM18.8182 50.3788h0.9697v0.9697h-0.9697zM22.697 50.3788h0.9697v0.9697h-0.9697zM24.6364 50.3788h0.9697v0.9697h-0.9697zM26.5758 50.3788h0.9697v0.9697h-0.9697zM28.5152 50.3788h0.9697v0.9697h-0.9697zM30.4545 50.3788h1.9394v0.9697h-1.9394zM33.3636 50.3788h0.9697v0.9697h-0.9697zM35.303 50.3788h0.9697v0.9697h-0.9697zM38.2121 50.3788h0.9697v0.9697h-0.9697zM40.1515 50.3788h2.9091v0.9697h-2.9091zM44.0303 50.3788h0.9697v0.9697h-0.9697zM13 51.3485h0.9697v0.9697h-0.9697zM18.8182 51.3485h0.9697v0.9697h-0.9697zM20.7576 51.3485h0.9697v0.9697h-0.9697zM22.697 51.3485h0.9697v0.9697h-0.9697zM25.6061 51.3485h0.9697v0.9697h-0.9697zM27.5455 51.3485h1.9394v0.9697h-1.9394zM32.3939 51.3485h2.9091v0.9697h-2.9091zM36.2727 51.3485h0.9697v0.9697h-0.9697zM38.2121 51.3485h0.9697v0.9697h-0.9697zM44.0303 51.3485h0.9697v0.9697h-0.9697zM13 52.3182h6.7879v0.9697h-6.7879zM20.7576 52.3182h0.9697v0.9697h-0.9697zM22.697 52.3182h0.9697v0.9697h-0.9697zM24.6364 52.3182h0.9697v0.9697h-0.9697zM26.5758 52.3182h0.9697v0.9697h-0.9697zM28.5152 52.3182h0.9697v0.9697h-0.9697zM30.4545 52.3182h0.9697v0.9697h-0.9697zM32.3939 52.3182h0.9697v0.9697h-0.9697zM34.3333 52.3182h0.9697v0.9697h-0.9697zM36.2727 52.3182h0.9697v0.9697h-0.9697zM38.2121 52.3182h6.7879v0.9697h-6.7879zM24.6364 53.2879h0.9697v0.9697h-0.9697zM26.5758 53.2879h0.9697v0.9697h-0.9697zM28.5152 53.2879h0.9697v0.9697h-0.9697zM30.4545 53.2879h1.9394v0.9697h-1.9394zM33.3636 53.2879h1.9394v0.9697h-1.9394zM13 54.2576h4.8485v0.9697h-4.8485zM18.8182 54.2576h4.8485v0.9697h-4.8485zM24.6364 54.2576h2.9091v0.9697h-2.9091zM29.4848 54.2576h1.9394v0.9697h-1.9394zM32.3939 54.2576h0.9697v0.9697h-0.9697zM37.2424 54.2576h0.9697v0.9697h-0.9697zM39.1818 54.2576h0.9697v0.9697h-0.9697zM41.1212 54.2576h0.9697v0.9697h-0.9697zM43.0606 54.2576h0.9697v0.9697h-0.9697zM13 55.2273h1.9394v0.9697h-1.9394zM19.7879 55.2273h2.9091v0.9697h-2.9091zM26.5758 55.2273h0.9697v0.9697h-0.9697zM28.5152 55.2273h1.9394v0.9697h-1.9394zM31.4242 55.2273h1.9394v0.9697h-1.9394zM35.303 55.2273h0.9697v0.9697h-0.9697zM38.2121 55.2273h0.9697v0.9697h-0.9697zM42.0909 55.2273h2.9091v0.9697h-2.9091zM15.9091 56.197h3.8788v0.9697h-3.8788zM21.7273 56.197h0.9697v0.9697h-0.9697zM23.6667 56.197h1.9394v0.9697h-1.9394zM27.5455 56.197h1.9394v0.9697h-1.9394zM34.3333 56.197h0.9697v0.9697h-0.9697zM37.2424 56.197h1.9394v0.9697h-1.9394zM40.1515 56.197h1.9394v0.9697h-1.9394zM43.0606 56.197h0.9697v0.9697h-0.9697zM16.8788 57.1667h0.9697v0.9697h-0.9697zM20.7576 57.1667h3.8788v0.9697h-3.8788zM28.5152 57.1667h0.9697v0.9697h-0.9697zM32.3939 57.1667h6.7879v0.9697h-6.7879zM40.1515 57.1667h0.9697v0.9697h-0.9697zM42.0909 57.1667h0.9697v0.9697h-0.9697zM13 58.1364h1.9394v0.9697h-1.9394zM17.8485 58.1364h4.8485v0.9697h-4.8485zM23.6667 58.1364h6.7879v0.9697h-6.7879zM31.4242 58.1364h0.9697v0.9697h-0.9697zM34.3333 58.1364h0.9697v0.9697h-0.9697zM37.2424 58.1364h0.9697v0.9697h-0.9697zM39.1818 58.1364h2.9091v0.9697h-2.9091zM13 59.1061h1.9394v0.9697h-1.9394zM16.8788 59.1061h0.9697v0.9697h-0.9697zM19.7879 59.1061h0.9697v0.9697h-0.9697zM22.697 59.1061h0.9697v0.9697h-0.9697zM24.6364 59.1061h0.9697v0.9697h-0.9697zM28.5152 59.1061h0.9697v0.9697h-0.9697zM30.4545 59.1061h3.8788v0.9697h-3.8788zM35.303 59.1061h0.9697v0.9697h-0.9697zM38.2121 59.1061h0.9697v0.9697h-0.9697zM43.0606 59.1061h1.9394v0.9697h-1.9394zM13 60.0758h0.9697v0.9697h-0.9697zM16.8788 60.0758h0.9697v0.9697h-0.9697zM18.8182 60.0758h1.9394v0.9697h-1.9394zM21.7273 60.0758h0.9697v0.9697h-0.9697zM27.5455 60.0758h0.9697v0.9697h-0.9697zM29.4848 60.0758h1.9394v0.9697h-1.9394zM32.3939 60.0758h1.9394v0.9697h-1.9394zM37.2424 60.0758h0.9697v0.9697h-0.9697zM40.1515 60.0758h0.9697v0.9697h-0.9697zM43.0606 60.0758h0.9697v0.9697h-0.9697zM14.9394 61.0455h2.9091v0.9697h-2.9091zM20.7576 61.0455h1.9394v0.9697h-1.9394zM26.5758 61.0455h0.9697v0.9697h-0.9697zM28.5152 61.0455h0.9697v0.9697h-0.9697zM33.3636 61.0455h2.9091v0.9697h-2.9091zM37.2424 61.0455h1.9394v0.9697h-1.9394zM42.0909 61.0455h0.9697v0.9697h-0.9697zM14.9394 62.0152h1.9394v0.9697h-1.9394zM18.8182 62.0152h2.9091v0.9697h-2.9091zM24.6364 62.0152h2.9091v0.9697h-2.9091zM29.4848 62.0152h0.9697v0.9697h-0.9697zM31.4242 62.0152h0.9697v0.9697h-0.9697zM34.3333 62.0152h3.8788v0.9697h-3.8788zM39.1818 62.0152h1.9394v0.9697h-1.9394zM43.0606 62.0152h0.9697v0.9697h-0.9697zM13.9697 62.9848h1.9394v0.9697h-1.9394zM19.7879 62.9848h0.9697v0.9697h-0.9697zM22.697 62.9848h1.9394v0.9697h-1.9394zM29.4848 62.9848h7.7576v0.9697h-7.7576zM38.2121 62.9848h0.9697v0.9697h-0.9697zM41.1212 62.9848h0.9697v0.9697h-0.9697zM43.0606 62.9848h1.9394v0.9697h-1.9394zM13 63.9545h0.9697v0.9697h-0.9697zM14.9394 63.9545h0.9697v0.9697h-0.9697zM16.8788 63.9545h6.7879v0.9697h-6.7879zM24.6364 63.9545h1.9394v0.9697h-1.9394zM27.5455 63.9545h2.9091v0.9697h-2.9091zM32.3939 63.9545h1.9394v0.9697h-1.9394zM37.2424 63.9545h4.8485v0.9697h-4.8485zM43.0606 63.9545h0.9697v0.9697h-0.9697zM13 64.9242h2.9091v0.9697h-2.9091zM16.8788 64.9242h0.9697v0.9697h-0.9697zM21.7273 64.9242h1.9394v0.9697h-1.9394zM26.5758 64.9242h0.9697v0.9697h-0.9697zM28.5152 64.9242h0.9697v0.9697h-0.9697zM33.3636 64.9242h0.9697v0.9697h-0.9697zM40.1515 64.9242h0.9697v0.9697h-0.9697zM42.0909 64.9242h0.9697v0.9697h-0.9697zM13.9697 65.8939h6.7879v0.9697h-6.7879zM21.7273 65.8939h0.9697v0.9697h-0.9697zM23.6667 65.8939h3.8788v0.9697h-3.8788zM29.4848 65.8939h0.9697v0.9697h-0.9697zM34.3333 65.8939h3.8788v0.9697h-3.8788zM39.1818 65.8939h1.9394v0.9697h-1.9394zM43.0606 65.8939h0.9697v0.9697h-0.9697zM13 66.8636h0.9697v0.9697h-0.9697zM14.9394 66.8636h0.9697v0.9697h-0.9697zM20.7576 66.8636h0.9697v0.9697h-0.9697zM22.697 66.8636h1.9394v0.9697h-1.9394zM28.5152 66.8636h7.7576v0.9697h-7.7576zM38.2121 66.8636h1.9394v0.9697h-1.9394zM41.1212 66.8636h0.9697v0.9697h-0.9697zM43.0606 66.8636h1.9394v0.9697h-1.9394zM13 67.8333h0.9697v0.9697h-0.9697zM15.9091 67.8333h5.8182v0.9697h-5.8182zM26.5758 67.8333h1.9394v0.9697h-1.9394zM33.3636 67.8333h0.9697v0.9697h-0.9697zM37.2424 67.8333h0.9697v0.9697h-0.9697zM41.1212 67.8333h0.9697v0.9697h-0.9697zM43.0606 67.8333h0.9697v0.9697h-0.9697zM13 68.803h0.9697v0.9697h-0.9697zM16.8788 68.803h1.9394v0.9697h-1.9394zM20.7576 68.803h0.9697v0.9697h-0.9697zM24.6364 68.803h0.9697v0.9697h-0.9697zM26.5758 68.803h0.9697v0.9697h-0.9697zM32.3939 68.803h1.9394v0.9697h-1.9394zM35.303 68.803h0.9697v0.9697h-0.9697zM37.2424 68.803h0.9697v0.9697h-0.9697zM39.1818 68.803h3.8788v0.9697h-3.8788zM13 69.7727h0.9697v0.9697h-0.9697zM14.9394 69.7727h0.9697v0.9697h-0.9697zM16.8788 69.7727h2.9091v0.9697h-2.9091zM21.7273 69.7727h0.9697v0.9697h-0.9697zM23.6667 69.7727h2.9091v0.9697h-2.9091zM27.5455 69.7727h3.8788v0.9697h-3.8788zM32.3939 69.7727h0.9697v0.9697h-0.9697zM34.3333 69.7727h7.7576v0.9697h-7.7576zM44.0303 69.7727h0.9697v0.9697h-0.9697zM20.7576 70.7424h3.8788v0.9697h-3.8788zM25.6061 70.7424h0.9697v0.9697h-0.9697zM28.5152 70.7424h6.7879v0.9697h-6.7879zM36.2727 70.7424h0.9697v0.9697h-0.9697zM40.1515 70.7424h0.9697v0.9697h-0.9697zM42.0909 70.7424h0.9697v0.9697h-0.9697zM44.0303 70.7424h0.9697v0.9697h-0.9697zM13 71.7121h6.7879v0.9697h-6.7879zM20.7576 71.7121h1.9394v0.9697h-1.9394zM24.6364 71.7121h5.8182v0.9697h-5.8182zM32.3939 71.7121h0.9697v0.9697h-0.9697zM35.303 71.7121h1.9394v0.9697h-1.9394zM38.2121 71.7121h0.9697v0.9697h-0.9697zM40.1515 71.7121h0.9697v0.9697h-0.9697zM42.0909 71.7121h1.9394v0.9697h-1.9394zM13 72.6818h0.9697v0.9697h-0.9697zM18.8182 72.6818h0.9697v0.9697h-0.9697zM23.6667 72.6818h1.9394v0.9697h-1.9394zM30.4545 72.6818h0.9697v0.9697h-0.9697zM32.3939 72.6818h4.8485v0.9697h-4.8485zM40.1515 72.6818h2.9091v0.9697h-2.9091zM13 73.6515h0.9697v0.9697h-0.9697zM14.9394 73.6515h2.9091v0.9697h-2.9091zM18.8182 73.6515h0.9697v0.9697h-0.9697zM20.7576 73.6515h0.9697v0.9697h-0.9697zM24.6364 73.6515h3.8788v0.9697h-3.8788zM29.4848 73.6515h0.9697v0.9697h-0.9697zM36.2727 73.6515h4.8485v0.9697h-4.8485zM44.0303 73.6515h0.9697v0.9697h-0.9697zM13 74.6212h0.9697v0.9697h-0.9697zM14.9394 74.6212h2.9091v0.9697h-2.9091zM18.8182 74.6212h0.9697v0.9697h-0.9697zM20.7576 74.6212h3.8788v0.9697h-3.8788zM25.6061 74.6212h0.9697v0.9697h-0.9697zM28.5152 74.6212h4.8485v0.9697h-4.8485zM35.303 74.6212h0.9697v0.9697h-0.9697zM40.1515 74.6212h1.9394v0.9697h-1.9394zM13 75.5909h0.9697v0.9697h-0.9697zM14.9394 75.5909h2.9091v0.9697h-2.9091zM18.8182 75.5909h0.9697v0.9697h-0.9697zM20.7576 75.5909h1.9394v0.9697h-1.9394zM26.5758 75.5909h2.9091v0.9697h-2.9091zM34.3333 75.5909h0.9697v0.9697h-0.9697zM36.2727 75.5909h0.9697v0.9697h-0.9697zM38.2121 75.5909h0.9697v0.9697h-0.9697zM42.0909 75.5909h1.9394v0.9697h-1.9394zM13 76.5606h0.9697v0.9697h-0.9697zM18.8182 76.5606h0.9697v0.9697h-0.9697zM20.7576 76.5606h0.9697v0.9697h-0.9697zM23.6667 76.5606h0.9697v0.9697h-0.9697zM26.5758 76.5606h1.9394v0.9697h-1.9394zM32.3939 76.5606h2.9091v0.9697h-2.9091zM37.2424 76.5606h1.9394v0.9697h-1.9394zM41.1212 76.5606h1.9394v0.9697h-1.9394zM13 77.5303h6.7879v0.9697h-6.7879zM20.7576 77.5303h0.9697v0.9697h-0.9697zM23.6667 77.5303h4.8485v0.9697h-4.8485zM29.4848 77.5303h0.9697v0.9697h-0.9697zM34.3333 77.5303h2.9091v0.9697h-2.9091zM38.2121 77.5303h1.9394v0.9697h-1.9394zM43.0606 77.5303h0.9697v0.9697h-0.9697z"/>
+</svg>
diff --git a/apps/web/src/lib/i18n/locales/en.ts b/apps/web/src/lib/i18n/locales/en.ts
index c29681e583..2cb2d0167f 100644
--- a/apps/web/src/lib/i18n/locales/en.ts
+++ b/apps/web/src/lib/i18n/locales/en.ts
@@ -11,6 +11,7 @@ import localRuntime from './en/local-runtime';
import mobile from './en/mobile';
import nav from './en/nav';
import settingsLanguage from './en/settings-language';
+import settingsMobileApp from './en/settings-mobile-app';
import settingsNav from './en/settings-nav';
import splitMenu from './en/split-menu';
import tabs from './en/tabs';
@@ -34,6 +35,7 @@ export default {
mobile,
nav,
settingsLanguage,
+ settingsMobileApp,
settingsNav,
splitMenu,
tabs,
diff --git a/apps/web/src/lib/i18n/locales/en/settings-mobile-app.ts b/apps/web/src/lib/i18n/locales/en/settings-mobile-app.ts
new file mode 100644
index 0000000000..8e9d3dba3f
--- /dev/null
+++ b/apps/web/src/lib/i18n/locales/en/settings-mobile-app.ts
@@ -0,0 +1,12 @@
+export default {
+ title: 'Mobile app',
+ scanDescription: 'Scan the code to get Macro on your phone.',
+ storeLinksDescription: 'Download Macro from your app store.',
+ appStoreDescription: 'Download Macro from the App Store.',
+ googlePlayDescription: 'Download Macro from Google Play.',
+ phone: 'Phone',
+ appStorePrompt: 'Download Macro on the App Store',
+ googlePlayPrompt: 'Get Macro on Google Play',
+ copyLink: 'Copy link',
+ copyStoreLink: 'Copy {{store}} link',
+};
diff --git a/docs/agent-guide/settings.md b/docs/agent-guide/settings.md
index 24c1484cdd..60f33d0401 100644
--- a/docs/agent-guide/settings.md
+++ b/docs/agent-guide/settings.md
@@ -315,10 +315,14 @@ the app's embedded bundle runs. In the browser it links to the latest desktop re
on GitHub, and only appears when the `desktop-app` PostHog flag is enabled. Native desktop always shows this section regardless of the flag;
native mobile never shows it.
-The **Mobile App** page is titled **Mobile app**. In the browser it offers a QR
-code to download **Macro** from the App Store; inside the iOS and Android apps
-it shows the same Version, Build date, and Bundle date card as the desktop app,
-and the sidebar's **Get the mobile app** button stays hidden.
+The **Mobile App** page is titled **Mobile app**. In a desktop browser an
+**iPhone** / **Android** switch picks which phone and QR code to show (App Store
+or Google Play), with **Copy link** for that store's URL. Phone browsers get a
+store button instead, with no QR codes: **App Store** on an iPhone, **Google
+Play** on an Android phone, and both when the user agent names neither. The
+page description names the store shown, or says "your app store" with both. Inside the
+iOS and Android apps it shows the same Version, Build date, and Bundle date card
+as the desktop app, and the sidebar's **Get the mobile app** button stays hidden.
Search checks individual setting titles and keywords, tolerates common typos,
and shows the parent page below each control result. Selecting a result opens