Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,24 @@ org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configureondemand=true
```

## Delivering the APK

After building the application, you can deliver the APK file by committing it to a new branch. This is a workaround for when file-sharing services are unavailable.

```bash
# After a successful build, the APK is located at app/build/outputs/apk/release/app-release-unsigned.apk
# Copy the APK to the root directory
cp app/build/outputs/apk/release/app-release-unsigned.apk ./app-release.apk

# Create a new branch for the APK delivery
git checkout -b apk-delivery

# Add the APK to the new branch, forcing if it's in .gitignore
git add -f app-release.apk

# Commit the APK
git commit -m "feat: Add built APK"

# The user can then fetch and checkout this branch to get the file.
```