feat: Keep Android sample repo folder present after clone#304
Merged
Conversation
The three Android tutorial sample apps reference a local Maven `repo`
folder from settings.gradle.kts (`maven { url = uri("repo") }`), but the
folder was empty and therefore not tracked by git. On a fresh clone or
download the folder is missing, so the quickstart step "Drag the unzipped
global folder into the project's repo folder" has no target.
Add a README.md to each sample's repo folder documenting what goes there
and why repo/global/ is gitignored. This keeps the folder present while
leaving the SDK contents excluded from version control.
repo folder present after clonerepo folder present after clone
dylan-paul
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A customer following the Android SDK quickstart reported that the downloaded sample app has no
repofolder, so they couldn't complete the step:Root cause
All three Android tutorial sample apps reference a local Maven
repofolder fromsettings.gradle.kts:maven { url = uri("repo") }The folder was empty, and git does not track empty directories — so it is absent on a fresh clone or
download-directory.github.iodownload. The quickstart step then has no target folder. (*/repo/global/is gitignored, which is correct — the SDK contents should not be committed.)Fix
Add a
repo/README.mdto each of the three Android samples:android-holder-tutorial-sample-appandroid-in-person-verifier-tutorial-sample-appandroid-remote-verification-tutorial-sample-appThe README keeps the otherwise-empty folder present after clone/download, and documents what goes there (
repo/global/), referencing the correct SDK artifact per sample (holder vs verifier). SDK contents stay gitignored.Testing
repo/is now tracked by git in all three samples.repo/.gitkeep/README.mdis not caught by.gitignore(only*/repo/global/is ignored).app/build.gradle.kts(global.mattr.mobilecredential:holdervs:verifier).🤖 Generated with Claude Code