r/ClaudeCode • u/hibzy7 • 5d ago
Built with Claude I hand-coded the first versions of my app, then switched to Claude Code. What kept a paid iOS + Android app safe
I started Nudgito, a reminder app, last year for my own daily streaks and wrote the first versions myself. It was slow going, and those versions were very limited and minimal.
Then I switched to Claude Code to speed up development, and it changed what I could ship: sync between iPhone and Android, folders, credit card reminders, yearly dates, colour themes, a much better UI and 1,305 tests holding it together. It's Flutter and Firebase, with native StoreKit 2 on iPhone and Play Billing on Android. It takes real subscriptions and syncs reminders between phones, so a bad change either costs someone money or loses their reminder for a birthday. This is what worked for me.
1. File ownership in CLAUDE.md beats long prompts
Three groups: free to edit, ask me first, never touch. Payments, sign-in, Firestore rules, native Swift and Cloud Functions are "ask first"; keys, .env files and Firebase config are "never touch". Claude stops and asks before the risky files, so I can let it run on everything else.
2. Context files instead of re-explaining
docs/context/decisions.md, gotchas.md and verify.md. Claude appends a dated entry at the end of each session and never deletes old ones; outdated entries get marked superseded. They're about 650 lines each now. CLAUDE.md tells it to read gotchas.md before debugging payments or notifications.
3. One verify command per kind of change
Dart changes: analyze and test. UI: add a release iOS build. Cloud Functions: lint and build. Payments: all of that plus a sandbox purchase on a fresh test account. The rule is "never claim done without running it and showing the output".
4. Keep the risky logic pure
Sync is one pure, deterministic merge function, and three test files must stay green for any change to it.
5. Review before building, not after
A fresh reviewer agent reads the whole diff before release builds. We go through each finding and fix it before I build. No "fix later" list.
6. Build one platform at a time
Running the simulator, the emulator and both release builds at once overloaded my Mac. Now it's iOS first, quit Xcode, then Android.
What I learned
- The bugs that bit hardest were time and store edge cases: StoreKit 2 replaying old transactions as "restored", alerts keeping the old time zone after a flight, and "24 hours from now" not always being tomorrow around daylight saving.
- Writing a product decision down once stops it coming back. Mine is "one thing, one reminder": a credit card is a single reminder with its dates inside, never a folder of separate reminders. Claude checks every new feature against it.
- I still do the parts that need a human: testing on real phones, sandbox purchases, pricing, and pressing submit.
Free to try: install it and use Basic with no account (3 reminders). Pro is paid.
App Store: https://apps.apple.com/app/id6751375956 Google Play: https://play.google.com/store/apps/details?id=com.hiat.smartAlerts
•
u/AutoModerator 5d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/CCodeSI 5d ago
Solid list, especially the pure merge function with its own required tests. Two things we'd add from setups like this:
.claude/settings.json(e.g.Read(./.env*),Edit(./firebase.json),Edit(./ios/Runner/GoogleService-Info.plist)) can't be talked around, even late in a long session or after compaction. Keep the "ask first" group in CLAUDE.md, since that one needs judgement.The time-zone/DST bugs you listed are a great case for property tests on the date logic: generate random time zones and dates around DST transitions and assert "next reminder is never in the past and never skips a day". They catch exactly the cases nobody thinks to write by hand.
2
u/Important-Fly-5068 5d ago
Point 3 is the one that has saved me most, with one gap I hit this week.
My verify step for an iPhone update ran on my own phone, where the Screen Time permission was already granted. On the App Review device the permission request failed, the app only showed a generic error, and the update got rejected.
So I added a line to my verify list: on a clean install, deny every permission once and check that the app says what to do and lets you retry. It is boring to test, which is exactly why both Claude and I skipped it.
Your "ask first" group is a good idea too. I'd put onboarding and permission prompts in it, since those are screens existing users never see again, so nobody notices when they break.
0
u/hibzy7 5d ago
If anyone wants to try Pro, code BLACKFRIDAYX100 gives 12 months free (500 per platform, until 31 Jan 2027, nothing renews).
iPhone: https://apps.apple.com/redeem?ctx=offercodes&id=6751375956&code=BLACKFRIDAYX100
Android: sign in, then Menu → Upgrade Plan → "Have a promo code?"