- {translate(
- 'auto.components.mobile.MobileHero.androidHelp.fullBrowser',
- 'Open the link in a full browser, not an in-app browser.'
- )}
-
-
- {translate(
- 'auto.components.mobile.MobileHero.androidHelp.downloads',
- 'Open app-release.apk from Downloads and allow only the app opening it to install unknown apps.'
- )}
-
-
- {translate(
- 'auto.components.mobile.MobileHero.androidHelp.samsung',
- 'On Samsung, temporarily turn off Auto Blocker, then turn it back on after installing.'
- )}
-
-
-
-
+
)
}
diff --git a/src/renderer/src/components/mobile/MobileHero.test.tsx b/src/renderer/src/components/mobile/MobileHero.test.tsx
index 0be2de6ae3c..542f73463af 100644
--- a/src/renderer/src/components/mobile/MobileHero.test.tsx
+++ b/src/renderer/src/components/mobile/MobileHero.test.tsx
@@ -155,7 +155,7 @@ describe('HeroFlow height', () => {
expect(screen.getByText('Step 1 of 2').closest('.mp-flow-screen')).toHaveAttribute('inert')
})
- it('shows focused APK help on Android and opens the full guide', async () => {
+ it('opens the APK install guide without duplicating its troubleshooting steps', async () => {
const user = userEvent.setup()
const onOpenAndroidInstallGuide = vi.fn()
renderFlow(0, {
@@ -164,9 +164,8 @@ describe('HeroFlow height', () => {
onOpenAndroidInstallGuide
})
- expect(screen.getByText('APK trouble?')).toBeInTheDocument()
- expect(screen.getByText(/full browser, not an in-app browser/)).toBeInTheDocument()
- await user.click(screen.getByRole('button', { name: 'Full Android install guide' }))
+ expect(screen.queryByText(/full browser, not an in-app browser/)).not.toBeInTheDocument()
+ await user.click(screen.getByRole('button', { name: 'Install guide' }))
expect(onOpenAndroidInstallGuide).toHaveBeenCalledOnce()
})
diff --git a/src/renderer/src/i18n/locales/en.json b/src/renderer/src/i18n/locales/en.json
index b113e5a28f8..7be414b805d 100644
--- a/src/renderer/src/i18n/locales/en.json
+++ b/src/renderer/src/i18n/locales/en.json
@@ -13087,11 +13087,7 @@
"directAddressDisclosure": "Also use a faster local path",
"directAddressHint": "Optional. Pick the Wi‑Fi or Tailscale address your phone should use when nearby — usually faster than Relay. Relay still works when you’re away.",
"androidHelp": {
- "title": "APK trouble?",
- "fullBrowser": "Open the link in a full browser, not an in-app browser.",
- "downloads": "Open app-release.apk from Downloads and allow only the app opening it to install unknown apps.",
- "samsung": "On Samsung, temporarily turn off Auto Blocker, then turn it back on after installing.",
- "guide": "Full Android install guide"
+ "guide": "Install guide"
}
},
"MobilePage": {