diff options
| author | Adam Soltys <[email protected]> | 2026-10-13 06:51:13 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-13 06:51:13 +0000 |
| commit | 90bc4d3d54b91cb9845cda4edc53ed148ae00251 (patch) | |
| tree | cdb1d23efbb37e6e78ed882ad1159da4c956876a /bun.lock | |
| parent | 8d7620874fe39b7226fb2ccfd4761b0a08b230dd (diff) | |
| download | coinosv3-90bc4d3d54b91cb9845cda4edc53ed148ae00251.tar.gz coinosv3-90bc4d3d54b91cb9845cda4edc53ed148ae00251.zip | |
Android 1.14 (code 15): UnifiedPush only where web push can't reach the app. isolabellart asked why Coinos opens a prompt inside ntfy: every launch of the TWA asked whatever UnifiedPush distributor was installed for an endpoint (and asked for notification permission for it), Play Services or not. UnifiedPush is there for phones without Google Play Services (GrapheneOS and the like); with Play Services, web push reaches Chrome — and so the TWA — through Google already, and asking ntfy too only put up its prompt (and would bring every notification twice). The TWA now asks a distributor only when Play Services isn't installed and enabled (Push.playServices; its package named in the manifest's queries for Android 11+), or when it already holds an endpoint — whoever has one has been through the prompt and may be counting on it. The WebView builds (webview, fdroid) are unchanged: web push never reaches a WebView, so UnifiedPush is their only way in either way.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KPw21NEpWeTGu6swVASmBt
Diffstat (limited to 'bun.lock')
0 files changed, 0 insertions, 0 deletions
