Skip to content

Lessons from RiceSense

This page records what really happened while releasing RiceSense 1.0.0. The steps in the guide have already been corrected based on these lessons. Read it before starting a release, and add new items every time something comes up.

What happened Consequence Do this instead
The build already on TestFlight still pointed at an old API host (*.nakarin.dev) that had been retired Testers could not use the app at all; a new build was needed Add the API URL guard in app.config.js from day one (Set up the Expo project)
The URL we were given belonged to the admin website, not the API, and answered with an HTML page The app could not call the API curl the URL every time before putting it in eas.json; it must return JSON
eas init copied the android.permissions list from the old android/ folder into app.json The permission list got locked and the maxSdkVersion conditions were lost Check the diff of app.json after every EAS command
The first privacy page was still a draft and sat on a test server The URL had to be moved later, which in App Store Connect meant pulling the version out of review first Have legal approve it and publish it on the company domain before starting the store work (Backend and demo account)
The demo account was created on dv, but the app submitted for review pointed at pd A new account had to be created in pd Create the demo account in pd from the start, with the system owner’s permission
docs/store-listing.md and the text in the console did not match Nobody knew which text was the real one Edit store-listing.md first, then copy it to the console
Pushed without checking the pipeline result The pipeline broke without anyone knowing Run the checks before pushing and watch the pipeline result every time
The first privacy page, still a draft on a test serverRiceSense website (dv) · 6 Nov 2026
RiceSense privacy notice on a test server with a yellow bar saying it is a draft under legal review
What happened Consequence Do this instead
Enrolled in Apple Developer as an Individual although the app belongs to a company The seller name on the store was a person’s name; changing it meant contacting Apple Support Enroll as an Organization from the start and get a D-U-N-S number first (how to change is in iOS extras)
2FA codes went to the account holder’s phone, which was with the client eas build hung waiting for the code Create an App Store Connect API key before the first build (Apple account and app identity)
The first build still pointed at the test server Two more builds were needed (builds 4 and 5) and build 3 was expired Use the API URL guard and test the pd build in TestFlight before attaching it to a version
On submission day the version was still attached to build 3 from the first round The old build had to be removed and build 5 selected Check the build number on the version page and the Draft Submission page before clicking Submit
After submitting, the Privacy Policy URL was found to still point at the test server, and App Privacy was missing 2 data types (Precise Location, Other Data) Had to click remove this version from review; the status became Developer Rejected and it was resubmitted, losing its place in the queue Trace every data type from the code and check every URL field before clicking Submit
Screenshots taken on the iPhone 16 Pro Max Simulator came out at 1320×2868 The upload field rejected them with “File dimensions are invalid”; they had to be resized with sips Check the size the upload field shows before taking screenshots
The banner asking to answer new Age Rating questions (Location Sharing and Dating) was postponed Had to come back and answer before the deadline Answer them while setting the Age Rating
The first build used --non-interactive Failed with “Distribution Certificate is not validated for non-interactive builds” Run the first build interactively
Builds 3, 4 and 5 of the first round, before getting a build that pointed at the right APIApp Store Connect · 23 Nov 2026
TestFlight tab under Version 1.0.0 with build 5 Ready to Submit, build 4, and build 3 Expired
Pulling the version out of review to fix the Privacy Policy URLApp Store Connect · 23 Nov 2026
Version page with status Waiting for Review and a Remove Version 1.0.0 from Review? confirmation dialog with Not Now and Remove buttons
After pulling it out, the status is Developer Rejected. There is no penalty, but it goes to the back of the queueApp Store Connect · 23 Nov 2026
iOS App Version 1.0.0 page with status Developer Rejected and the Add for Review button available again
What happened Consequence Do this instead
Signed up for Play Console as Personal, but the Legal name in the payments profile was the company name Identity verification failed; it had to be fixed and then a change to Organization requested Sign up as an Organization from the start (how to change is in Android extras)
The address in the payments profile did not match the Apple account and the privacy page Had to chase fixes in several places Use the same name and address as the D-U-N-S record everywhere
Created a draft app in the wrong developer account It had to be deleted, and a package name cannot be used across accounts Check the account name on the Home page before clicking Create app
Release notes used the <th-TH> tag An error appeared and Next could not be clicked Use <th>
Opened Target audience before completing Sign in details The page was blocked Do App content in the order shown on the page
Data safety could not be saved because Target audience was not answered yet Had to leave and do the other items first Follow the order Sign in details → Target audience → Data safety
Production used a new build (versionCode 4) instead of build 3, which had passed Internal testing The build that went to the store had not been tested Production uses the tested bundle via Add from library. If a new build is needed, put it through Internal testing first
Quick checks warned about android.hardware.screen.portrait, so Ignore issue was clicked for the time being The app was hidden from some device groups; a config plugin had to be added in the next build Add the config plugin before the first build (Build and Internal testing)
Clicked Create new release in Internal testing just to look at the page Play Console immediately created an empty draft release, and the Create new release button stays grey until it is deleted Click it only when you are really creating a release. If you clicked it by mistake, delete it with Discard draft release
The th-TH tag does not work; it must be thGoogle Play Console · 19 Nov 2026
Release notes field with the th-TH tag outlined in red, the message Unsupported language translation found: th-TH, and the Next button greyed out
Target audience is blocked until Sign in details is doneGoogle Play Console · 23 Nov 2026
Target audience and content page showing the message Complete Sign in details section with a Go to Sign in details link
Quick checks warn about portraitGoogle Play Console · 23 Nov 2026
Dialog 1 issue found: Required hardware feature declarations are restricting your app's availability, feature android.hardware.screen.portrait
In 1.0.0 we clicked Ignore issue for the time being, which you should not doGoogle Play Console · 23 Nov 2026
Ignore this issue dialog asking for a reason, with Cancel and Ignore issue buttons
Symptom Platform Cause Fix
The app cannot call the API Both EXPO_PUBLIC_API_URL is wrong, or the server is not HTTPS Fix the URL and build again. Fixing only the server side is not enough
Apple rejects under 2.1 (cannot log in / features incomplete) iOS Wrong demo account, server down, or a “not available yet” screen Fix it and reply in App Review. No new build is needed if the app was not changed
Apple rejects under 5.1.1 (account deletion) iOS The reviewer did not see a way to request account deletion Explain in Notes that the company issues the accounts, and give the deletion channel
“Access Unavailable” on the Certificates page iOS Apple updated its agreement The Apple account holder accepts the new agreement
Play will not let you submit for review Android App content or Store listing is incomplete See the remaining items on the Dashboard page
eas submit -p android fails the first time Android Google requires the first upload to be done by hand Upload the first AAB through the web page
Play reports a duplicate version code Android The same build was uploaded again Build again; EAS increments the number
Cannot update the app on Play because the signature does not match Android The keystore was lost or regenerated Never delete the credentials on EAS, and keep a backup of the keystore
When Platform Task If you skip it
Every year iOS Renew the Apple Developer Program The app is removed from the App Store
Every year iOS The Distribution Certificate expires; EAS asks to create a new one at build time You cannot make new builds (the app in the store keeps working)
Every year Android Google requires targeting a newer Android API; upgrade the Expo SDK and build again You cannot submit updates
Whenever data collection changes Both Update App Privacy, Data safety and the privacy page Rejection or removal of the app
Whenever a store notifies you Both Accept new agreements (Apple) and answer new policies in the Inbox (Google) You cannot submit new builds
Before every submission Both Check that the demo account can still log in and has data The next review fails