Repository navigation
Prepare Google Play and F-Droid builds - #27
Merged
Merged
Conversation
- New application ID io.github.dineshsoudagar.pocketllm, compile/target SDK 36 - github, fdroid and play build flavors; debug builds install side by side - First-run Terms of Use and Privacy Policy acceptance, also reachable from About - Report button on every AI response (email or GitHub issue) - Release builds fail until legal contact details are filled in - CI builds all three debug APKs and checks 16 KB page support - Play Console checklist, legal README and Impressum template
dineshsoudagar
marked this pull request as ready for review
October 6, 2026 12:20
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.
Before: the app could only be built as one universal APK. Its ID was
com.example.local_llm, which Google Play rejects, it targeted Android 15, and it had no terms, privacy policy or way to report AI answers.After: one codebase builds three versions (
github,fdroid,play), and the debug builds of all three install side by side for testing. The app ID is nowio.github.dineshsoudagar.pocketllmand it targets Android 16. On first launch, users accept the Terms of Use and Privacy Policy, which can also be opened from About. Every AI answer has a report button.How:
BuildConfig.DISTRIBUTION_CHANNEL. Debug variants get their own app ID and label (Variant API).assets/legal/. They read the developer's name, address, email and date fromres/values/legal_contact.xml. Release builds fail while those values are still TODO.docs/store/PLAY_CONSOLE.mdhas the Play Console checklist (Data safety answers, foreground service justifications, content rating).docs/legal/has the legal README and an Impressum template.Note: the
fdroidflavor still includes ML Kit until the follow-upfdroid-buildbranch replaces it.