Skip to content

fix(splash): keep the splash screen until the page loads - #84

Merged
dargmuesli merged 1 commit into
mainfrom
fix/splash/image-transfer
Nov 17, 2026
Merged

dargmuesli merged 1 commit into
mainfrom
fix/splash/image-transfer

Conversation

@dargmuesli

Copy link
Copy Markdown
Member

Since Chrome 152 the splash screen disappears right after launch and a blank page with a progress bar shows until the web app paints. Chrome's receiveFile() now checks that the calling app holds read permission on the splash image URI. Android never records a grant for the provider's own app unless the grant is persistable, so the check fails, the library logs Failed to transfer splash image., and Chrome launches without the splash. Every release back to 0.3.0 behaves the same on Chrome 157, so this is not an app regression.

The launcher activity now grants itself read access to the splash image URI with the persistable flag before the library transfers it. This is the workaround from GoogleChrome/android-browser-helper#623 and can be removed once the library ships a fix. Verified on Android 16 with Chrome 157, both with and without an existing splash image file: the transfer succeeds and Chrome keeps the splash until the page has loaded.

@dargmuesli
dargmuesli merged commit dc3bb22 into main Nov 17, 2026
10 checks passed
@dargmuesli
dargmuesli deleted the fix/splash/image-transfer branch November 17, 2026 18:55
maevsi-bot pushed a commit that referenced this pull request Nov 17, 2026
## [0.6.5](0.6.4...0.6.5) (2026-11-17)

### Bug Fixes

* **splash:** keep the splash screen until the page loads ([#84](#84)) ([dc3bb22](dc3bb22))
@maevsi-bot

Copy link
Copy Markdown

🎉 This PR is included in version 0.6.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants