Skip to content

Commit 221cce6

Browse files
Anna-Qvilclaude
authored andcommitted
Remove PWA install banner now that app is in the App Store and Play Store
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4ebd09d commit 221cce6

4 files changed

Lines changed: 0 additions & 144 deletions

File tree

docs/ios-wrapper-compatibility.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ aggressively under storage pressure.
7474
size, since offline access is core to the "no WiFi at camp" use
7575
case.
7676

77-
## Not an issue
78-
79-
`InstallBanner.tsx`'s `beforeinstallprompt` listener never fires in
80-
WKWebView, so the "install the app" banner stays collapsed (`height:
81-
0`) inside the native wrapper — it just never triggers, so no
82-
install-prompt UI leaks into the native app. Fine as-is, but worth a
83-
quick manual check rather than assuming.
84-
8577
## Summary
8678

8779
| Area | Status | Action needed |
@@ -90,4 +82,3 @@ quick manual check rather than assuming.
9082
| Auth login redirect (cross-origin) | Unverified | Manual test in real build |
9183
| Geolocation | Needs Info.plist key | Verify `NSLocationWhenInUseUsageDescription` present |
9284
| Offline map tile caching | Likely fine | Stress-test storage limits |
93-
| Install banner | Not an issue | None |

index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,5 @@
2525
<body class="bg-[#f2f2f6]"> <!-- TODO: Use bg-gray-50 -->
2626
<div id="root"></div>
2727
<script type="module" src="/src/main.tsx"></script>
28-
<script>
29-
window.addEventListener('beforeinstallprompt', (e) => {
30-
e.preventDefault();
31-
window.__scoutDeferredInstallPrompt = e;
32-
})
33-
</script>
3428
</body>
3529
</html>

src/components/InstallBanner.tsx

Lines changed: 0 additions & 127 deletions
This file was deleted.

src/routes/_app.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { Suspense, useEffect } from "react";
1010
import { AppBar } from "../components/AppBar";
1111
import { BottomNavigation } from "../components/BottomNavigation";
1212
import { DevBanner } from "../components/DevBanner";
13-
import { InstallBanner } from "../components/InstallBanner";
1413
import { SideMenu } from "../components/menu/SideMenu";
1514
import { PwaReloadBanner } from "../components/PwaReloadBanner";
1615

@@ -96,7 +95,6 @@ function RouteComponent() {
9695
return (
9796
<div className="flex flex-col app-container">
9897
<DevBanner />
99-
<InstallBanner />
10098
<PwaReloadBanner />
10199

102100
<div className="flex-1 flex min-h-0">

0 commit comments

Comments
 (0)