Over the past few months I've put more than twenty small Expo apps on Google Play. None of them have a backend. They keep data on the phone and earn from one banner, and some sell a single "Remove ads" purchase.
They're simple apps, but the release side kept tripping me up. These five cost me the most time.
1. The first release build signs with the debug key
expo prebuild generates an Android project whose release build is signed with the debug keystore. Gradle doesn't warn you. The build succeeds, and Play Console rejects the upload because it's debug-signed.
You need your own upload key and a signing config for release. I keep that in a small config plugin, so it survives expo prebuild --clean, which deletes the whole android/ folder.
2. Pin the JDK
My machine's default JDK was 24. With it, the CMake step for some native modules prints a warning about a restricted method, and the Android Gradle Plugin treats that warning as a failure. I tried JVM flags first. They didn't help, because CMake runs in a separate process.
One line in android/gradle.properties fixed it:
org.gradle.java.home=C:/Program Files/Java/jdk-17
Use forward slashes. With backslashes the path gets mangled and Gradle says your Java home is invalid.
3. Don't upgrade the Expo SDK in place
I bumped the SDK in an existing project. TypeScript passed, tests passed, the release build signed. The app crashed on launch.
A package from the old SDK had stayed in node_modules, and nothing complained until the native side loaded it. I pin the SDK now. Before each release build, a script checks that every installed Expo package belongs to the same SDK.
4. Blocked permissions you forgot about
Some of my apps started without ads, so app.json blocked the advertising ID permission. Months later I added AdMob and declared ad ID usage in Play Console. The release was rejected before review, because the declaration and the manifest disagreed.
If you add ads to an older app, search app.json for blockedPermissions first.
5. Design the "Remove ads" purchase for the bad cases
Checking the purchase once and saving a flag is easy, but refunds never bring the ads back. So the app asks Google Play again on every launch.
That creates the opposite problem. Phones go offline, and Play Billing sometimes just fails to connect. If you treat "no answer" as "not purchased", a paying user sees ads on the train. I keep the last answer and change it only when the store actually replies.
Also acknowledge every purchase. Google refunds one automatically if the app doesn't acknowledge it within three days.
The kit
I got tired of setting this up again for each app, so I turned it into a starter kit. It's Expo SDK 54, Android-first, with no backend. The fixes above are built in, along with a script that refuses to build when the package name is still com.example, the ad IDs are Google's test ones, or the privacy policy URL is missing.
It's paid. You can find it here: https://ykisoftware.gumroad.com/l/bksfs
If you've run into any of these, or something I missed, I'd like to hear about it in the comments.
Top comments (5)
Point 4 is the nasty one because the manifest merge hides it. I'd check the merged release manifest in the build output before every upload, not just app.json - it shows the real permission list after libraries like AdMob add theirs, so a declaration mismatch gets caught before Play Console rejects it.
Follow-up: I added that check, and it found something worse than the manifest.
The merged release manifest was fine. While testing the new step, I ran keytool on the bundle, and it was signed with the debug key. My signing plugin only matched
signingConfig signingConfigs.debug, and the RN 0.81 template writes it with an=. Point 1 of my own post, in my own kit.Both checks are now a free script that runs in any Expo project, no kit needed: github.com/ykisoftware/expo-play-c...
Thanks for the nudge.
Good call. Reading the merged manifest is the stronger check, since AdMob and other libraries add their own permissions after app.json is done with it. The kit doesn't do that yet. It only looks at the config side. I'm going to add a step that reads the merged release manifest before the upload.
The debug-key trap in point 1 is the one that would have caught me — Gradle succeeding while Play Console rejects the upload, with no warning in between, is a brutal way to learn about signing configs. Pinning the JDK also resonated: your JDK 24 CMake warning being treated as a failure by the Android Gradle Plugin, while JVM flags did nothing because CMake runs in a separate process, is exactly the kind of detail that costs an evening. The "Remove ads" case was the most thoughtful part for me — checking once and saving a flag breaks on refunds, and re-checking every time breaks offline. With more than twenty apps shipped, do you now run the same config plugin and starter kit across all of them, and which of these five was the most recent one to bite you?
The kit is the release setup from those apps, pulled out into its own repo so I stop copying it by hand.
The ad ID one was the most recent. That was in September, on an app that had no ads when it first shipped.