Skip to content

chore: rename app to rnstarter + fix setup:oss keys filenames - #54

Merged
MounirDhahri merged 1 commit into
mainfrom
claude/oss-setup-fix
Jul 13, 2026
Merged

chore: rename app to rnstarter + fix setup:oss keys filenames#54
MounirDhahri merged 1 commit into
mainfrom
claude/oss-setup-fix

Conversation

@MounirDhahri

Copy link
Copy Markdown
Member

Description

Two fixes surfaced while running the app after yarn setup:oss.

1. setup:oss created the wrong keys file (broke yarn ios)
react-native-keys reads per-environment files — keys.development.json (debug) and keys.production.json (release), not keys.json. The build failed with ENOENT: keys.development.json. scripts/setup-oss now creates both env files from keys.example.json, and the Getting Started docs are corrected (they wrongly said cp keys.example.json keys.json). Added a note that switching app.json config needs a clean prebuild, since a stale android/ folder causes the resource color/iconBackground not found error (unrelated to this repo — it was a leftover native folder).

2. Rename the template app Energyrnstarter
The app was still named "Energy" (leftover from being modeled on Folio/Energy).

  • app.json: name/displayName/expo.name/scheme, iOS bundleIdentifier and Android package (net.artsy.energynet.artsy.rnstarter).
  • Updated the e2e references that target the app by name/package: launch-smoke.ad (open Energyopen rnstarter), android-e2e.sh APP_ID, and the e2e/docs mentions.
  • Left the "mirroring Eigen/Energy" inspiration comments untouched — they reference Artsy's production app, not this one.

Notes for reviewers

  • After pulling this, run a clean prebuild (yarn prebuild, or yarn ios:clean / yarn android:clean) so the renamed bundle id/package and icon resources regenerate.
  • The manual Android e2e job will pick up open rnstarter on its next workflow_dispatch run.

🤖 Generated with Claude Code


Generated by Claude Code

setup:oss keys fix (was breaking yarn ios):
- react-native-keys reads per-env files (keys.development.json for debug,
  keys.production.json for release), NOT keys.json — the old script created
  keys.json, so builds failed with ENOENT keys.development.json. Create both
  env files from keys.example.json instead. Fix the same wrong instruction in
  the Getting Started docs. Also note that switching app.json config needs a
  clean prebuild (stale native folders cause 'resource color/iconBackground
  not found').

Rename the template app from the leftover 'Energy' to 'rnstarter':
- app.json name/displayName/expo.name/scheme + iOS bundleIdentifier and Android
  package (net.artsy.energy → net.artsy.rnstarter).
- Update the e2e references that target the app: launch-smoke.ad 'open Energy'
  → 'open rnstarter', android-e2e.sh APP_ID, and the e2e/docs mentions.
- Left the 'mirroring Eigen/Energy' inspiration comments as-is (they reference
  Artsy's production app, not this one).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KPWjhmaeq8DnsiiFD9Eg7A
@MounirDhahri
MounirDhahri merged commit 6feb884 into main Jul 13, 2026
5 checks passed
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.

2 participants