Skip to content

fix(android): avoid splash surface crash on realme Android 13 - #2805

Merged
bajrangCoder merged 1 commit into
mainfrom
fix/realme-android13-splash-crash
Aug 25, 2026
Merged

fix(android): avoid splash surface crash on realme Android 13#2805
bajrangCoder merged 1 commit into
mainfrom
fix/realme-android13-splash-crash

Conversation

@bajrangCoder

Copy link
Copy Markdown
Member

No description provided.

@greptile-apps

greptile-apps Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a Cordova post-processing workaround for a splash-surface crash on realme devices running Android 13.

  • Patches the generated MainActivity.java during Android preparation.
  • Detects realme Android 13 devices by manufacturer or brand.
  • Disables splash fading for affected devices while leaving other devices unchanged.
  • Makes the patch idempotent and reports missing files or failed injection attempts.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete blocking or independently actionable non-blocking issue identified.

The hook limits the preference override to realme Android 13, preserves default behavior elsewhere, and guards repeated or unsuccessful source patching.

Important Files Changed

Filename Overview
hooks/post-process.js Adds a narrowly scoped, idempotent generated-MainActivity patch for the realme Android 13 splash workaround; no actionable changed-code defect was established.

Reviews (1): Last reviewed commit: "fix(android): avoid splash surface crash..." | Re-trigger Greptile

@bajrangCoder bajrangCoder added the CI: RUN ON-DEMAND PREVIEW RELEASES Triggers an on-demand preview build for this pull request via CI workflow. label Aug 25, 2026
@github-actions github-actions Bot removed the CI: RUN ON-DEMAND PREVIEW RELEASES Triggers an on-demand preview build for this pull request via CI workflow. label Aug 25, 2026
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown

Preview Release for this, has been built.

Click here to view that github actions build

Comment thread hooks/post-process.js
@bajrangCoder
bajrangCoder added this pull request to the merge queue Aug 25, 2026
Merged via the queue into main with commit 4ee4fa3 Aug 25, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in The Code Board - Acode Aug 25, 2026
@bajrangCoder
bajrangCoder deleted the fix/realme-android13-splash-crash branch August 25, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants