Currently, if we ever forget to increment the buildNumber or versionCode, the only point of time when we realize is when we are almost done uploading our APK or IPA file. That's when we are shown the error.
This wastes a lot of time. Requesting expo team to add an optional argument to expo build command which automatically increments the buildNumber and versionCode.
Or else, we should be shown a warning message when trying to build with same version code, and asked whether we want to continue or increment.
Thanks. Hope it is implemented soon.