Skip to content

fix: skip WebAPK install to prevent SIGTRAP crash (#2932)#2978

Open
cykrr wants to merge 1 commit into
uazo:masterfrom
cykrr:fix/pwa-install-crash
Open

fix: skip WebAPK install to prevent SIGTRAP crash (#2932)#2978
cykrr wants to merge 1 commit into
uazo:masterfrom
cykrr:fix/pwa-install-crash

Conversation

@cykrr

@cykrr cykrr commented Jul 5, 2026

Copy link
Copy Markdown

Skip WebAPK installation when user clicks 'Add to Home screen' / 'Install' on a PWA.

Cromite does not support WebAPKs (requires Google Play Services and googleapis.com, as documented in the README). When the 'Install' button is pressed, the WebAPK code path is triggered and hits a dangling raw_ptr crash (SIGTRAP) caught by BackupRefPtr protection.

This patch skips WebAPK installation entirely and creates a standard home screen shortcut directly, which is the documented supported behavior.

Fixes #2932

@cykrr
cykrr force-pushed the fix/pwa-install-crash branch from 8656c5f to fba28e5 Compare July 5, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cromite crashes on "Add to home screen"

1 participant