From 2cb7d5d7ecbd56817c3391ec2da676eade50e7bf Mon Sep 17 00:00:00 2001 From: orfelorfel23 Date: Mon, 17 Aug 2026 20:07:41 +0200 Subject: [PATCH] Update build rules with prebuild requirement --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index c0356fa7..baa09a6c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -11,6 +11,8 @@ Examples: - version `23.01.3` -> versionCode `3` - version `23.01.123` -> versionCode `123` +IMPORTANT: After bumping the version in `app.json`, you MUST run `npx expo prebuild -p android --no-install` BEFORE running Gradle (`.\gradlew assembleRelease`). Otherwise, `android/app/build.gradle` will retain the old version code and the Play Store will reject the upload! + Apps must always be built as BOTH `.apk` and `.aab`. The exact naming syntax for compiled files is: `Schnappix_v23.01.X.apk`