Skip to content

feat(fork): ship the Android app under its own package, name and icon - #32

Open
tebiggs wants to merge 3 commits into
mainfrom
feature/fork-app-branding
Open

tebiggs wants to merge 3 commits into
mainfrom
feature/fork-app-branding

Conversation

@tebiggs

@tebiggs tebiggs commented Nov 6, 2026

Copy link
Copy Markdown
Owner

The fork's APK installs as upstream's preview app (com.t3tools.t3code.preview), is signed with the React Native template's public debug keystore, and has no Firebase config. That means it can't have its own Firebase project for push notifications, and anyone with the public debug key can build an APK that installs as an update over it.

This lets the fork ship its own app:

  • apps/mobile/app.config.ts reads optional T3CODE_APP_NAME, T3CODE_ANDROID_PACKAGE and T3CODE_ANDROID_ICON_BACKGROUND overrides. Unset values keep the variant's. An invalid package name fails the config.

  • The fork-release.yml Android job:

    • always uses a new ember icon background;
    • takes the package and app name from the repository variables T3CODE_ANDROID_PACKAGE and T3CODE_APP_NAME;
    • signs with a release keystore when the secrets ANDROID_KEYSTORE_BASE64, ANDROID_KEYSTORE_PASSWORD and ANDROID_KEY_ALIAS are set (AGP android.injected.signing.*, which overrides the template's debug signing config for release);
    • passes ANDROID_GOOGLE_SERVICES_JSON to Expo when set, ready for push notifications in a later PR.

    With none of these set, the build matches today's apart from the icon.

  • One line in FORK.md.

A build with a new package installs as a separate app. Existing installs need to pair their environments again and point Obtainium at the new package.

New icon background:

Ember icon background

The mobile typecheck, format, lint and knip pass. Evaluating the config with the overrides gives the expected name, package and icon. The signed APK build itself is first exercised by this PR's CI run.

Made by Claude Opus 5.5 in Claude Code (via T3 Code); reviewed by GPT-6.1 Sol in Codex.

🤖 Generated with Claude Code

tebiggs and others added 3 commits November 5, 2026 08:09
Fork builds can set the Android package and app name through repository
variables, sign with a release keystore and add Firebase config from
secrets, and always use the ember icon background. Unset values keep
upstream's preview variant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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