I’m trying to update my Expo app to build the second version. after saving updates I build it the app by running :
eas build:configure
eas build --platform android
& the version still the same I’ve change app.json from:
{
"expo": {
"name": "App namex",
"slug": "appName",
"version": "1.0.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": " ./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
},
"useNextNotificationsApi": true,
"permissions": [
"RECEIVE_BOOT_COMPLETED"
],
"versionCode": 2
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
[
"expo-notifications",
{
"icon": "",
"color": "#ffffff",
"mode": "production"
}
]
],
"description": ""
}
}
into:
"version": "2.0.0", "versionCode": 2,
When I try to upload it in google play console I got this error :
Version 1 code has already been redeemed. Choose another google play console
May someone guide me how can I update my app