Skip to content

Improve andoid gitignore template - #4798

Open
gameingamez wants to merge 1 commit into
github:mainfrom
gameingamez:main
Open

gameingamez wants to merge 1 commit into
github:mainfrom
gameingamez:main

Conversation

@gameingamez

@gameingamez gameingamez commented Feb 18, 2026 •

Copy link
Copy Markdown

This PR updates the Android.gitignore template to make it more consistent, minimal, and aligned with common Android development practices. The goal is to ignore only universally generated or sensitive files while removing project‑specific or redundant entries.

Key Improvements

  1. Simplifies IntelliJ/Android Studio section by keeping only *.iml and .idea/, removing overly specific IDE files

  2. Adds common Android build artifacts (*.apk, *.ap_, *.aab) and output-metadata.json

  3. Adds Google Services and Firebase Crashlytics files that should never be committed

  4. Adds NDK/CMake obj/ directory

  5. Adds OS‑specific junk files (.DS_Store, Thumbs.db)

  6. Removes redundant or overly specific patterns that are already covered by existing ignores

  7. Keeps the template focused on broadly applicable Android/Gradle behavior

@gameingamez
gameingamez requested a review from a team as a code owner February 18, 2026 20:29
@gameingamez

Copy link
Copy Markdown
Author

If you want anything about this merge changed, comment on this PR and I'll change it.

@gameingamez
gameingamez changed the base branch from main to add-metadata March 19, 2026 00:39
@gameingamez
gameingamez changed the base branch from add-metadata to main March 19, 2026 00:39
@gameingamez

Copy link
Copy Markdown
Author

Hi! can you review this?

@github-actions

Copy link
Copy Markdown

This PR is stale because there have been no updates in 90 days. It will close after 365 days of inactivity. Leave a comment if you want to keep it open.

@github-actions github-actions Bot added stale and removed stale labels Jun 21, 2026
@github-actions

Copy link
Copy Markdown

This PR is stale because there have been no updates in 90 days. It will close after 365 days of inactivity. Leave a comment if you want to keep it open.

@github-actions github-actions Bot added the stale label Sep 22, 2026

@dooleydevin dooleydevin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple things I'd like to see addressed before we can include this 👍

Comment thread Android.gitignore
Comment on lines +42 to +45

# OS-specific
.DS_Store
Thumbs.db

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We try not to include OS-specific files in our gitignore templates, prompting folks to use the templates under /Global instead. I'd ask that you remove this 👍

Comment thread Android.gitignore
Comment on lines +29 to +31
# Google Services
google-services.json
google-services.plist

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know that this is accurate. It looks like this should maybe be GoogleService-Info.plist?: https://support.google.com/firebase/answer/7000104?hl=en

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants