Skip to content

Potential fix for code scanning alert no. 1: Application backup allowed#5

Merged
Teo Boon Keat (teoboonkeat) merged 1 commit into
mainfrom
alert-autofix-1
Jun 8, 2026
Merged

Potential fix for code scanning alert no. 1: Application backup allowed#5
Teo Boon Keat (teoboonkeat) merged 1 commit into
mainfrom
alert-autofix-1

Conversation

@teoboonkeat

Copy link
Copy Markdown
Collaborator

Potential fix for https://github.com/SPHTech/ComposeReorderable/security/code-scanning/1

To fix this, explicitly disable app backups in the manifest by adding android:allowBackup="false" on the <application> element.

Best single change (no broader functional refactor):

  • File: android/src/main/AndroidManifest.xml
  • Region: <application ...> attributes (around lines 5–10)
  • Add one attribute:
    • android:allowBackup="false"

No new methods, imports, or dependencies are required. This is a manifest-only configuration change.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@teoboonkeat Teo Boon Keat (teoboonkeat) marked this pull request as ready for review June 8, 2026 08:20
@teoboonkeat Teo Boon Keat (teoboonkeat) merged commit 8bc37ac into main Jun 8, 2026
1 of 4 checks passed
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.

1 participant