Comments (1)
Hi,
If you are on a bare
workflow (you have ios
and android
directories with native code) and you don't use the autoIncrement
option, the source of truth is the version stored in the native code (CFBundleVersion
+ CFBundleShortVersionString
for iOS and versionName
+ versionCode
for Android). These values have higher priority than the version
+ ios.buildNumber
+ android.versionCode
fields from app.json
. They have the higher priority because they are the true version source for App Store and Play Store. We don't update them for you if you have the "autoIncrement": false
option chosen, so we don't make unwanted changes to your native code.
However setting "autoIncrement": true
in your build profile, makes EAS CLI responsible for your version management. If this option is enabled EAS Build will bump your ios.buildNumber
and android.versionCode
on each build and these values + the main version
from app.json
with your native code as well. I recommend using this setting in conjunction with remote version management ({ "cli": { "appVersionSource": "remote" } }
).
If you don't wish to use autoIncrement
you can either:
- Update the version manually (this means you would also need to update the
CFBundleVersion
+CFBundleShortVersionString
for iOS andversionName
+versionCode
for Android when you are on bare workflow) - Sync them by using the
npx expo prebuild
if you use CNG
from eas-cli.
Related Issues (20)
- eas credentials or eas build --platform iOS => Login to apple account, invalid session HOT 5
- Execution failed for task ':react-native-community_art:compileDebugJavaWithJavac' when to try build android after update to 51 sdk HOT 2
- Eas build ios in monorepo fail because internal package has been found but main doesn't exist. HOT 6
- EAs update do not work HOT 5
- Error: EINVALIDTAGNAME Tags may not have any characters that encodeURIComponent encodes. HOT 3
- EAS builds crashing with 'bun install ' SIGTRAP HOT 2
- eas credentials logging into apple leads to Error: unable to get local issuer certificate HOT 2
- Authentication with Apple Developer Portal failed! HOT 6
- EAS Local Android Build Fails with "expo-camera" dependency HOT 6
- Artifact not found on IOS and Android build HOT 9
- "Install dependencies" phase takes longer then expected error eas build android HOT 13
- Fingerprint inconsistencies when using EAS Secret File in app.config.ts HOT 1
- EAS build its failing HOT 4
- [expo-updates] Use `--profile` in `fingerprint:generate` and `runtimeversion:resolve` to fetch related environment variables HOT 4
- CAn't install was cli HOT 4
- Bun install fails on EAS Cloud Build HOT 3
- "Install dependencies" phase takes longer then expected error android eas build HOT 21
- Sentry: Unrecognized auth token format! HOT 2
- Authentication with Apple Developer Portal failed! Too many verification codes have been sent. HOT 5
- "eas build:resign" failed because of GitHub? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eas-cli.