Skip to content

Commit

Permalink
Arreglado build con Expo SDK 45
Browse files Browse the repository at this point in the history
  • Loading branch information
diegov committed Sep 29, 2022
1 parent 05274eb commit a1f86f3
Show file tree
Hide file tree
Showing 7 changed files with 43,791 additions and 5,411 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ web-report/
cypress/screenshots
cypress/videos

app.config.js

# @generated expo-cli sync-2138f1e3e130677ea10ea873f6d498e3890e677b
# The following patterns were generated by expo-cli

Expand Down
10 changes: 10 additions & 0 deletions app.config.source.js → app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ export default ({ config }) => {
throw new Error('No MAPS_API_KEY defined');
}

const easProjectId = process.env.EAS_PROJECT_ID

if (!easProjectId) {
throw new Error('No EAS_PROJECT_ID defined');
}

config.extra = config.extra || {};
config.extra.eas = config.extra.eas || {};
config.extra.eas.projectId = easProjectId;

config.android = config.android || {};
config.android.versionCode = parseFloat(versionCode);
config.android.config = config.android.config || {};
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
},
"android": {
"package": "es.beniconfusionfest.confusion",
"package": "es.beniconfusionfest.confusion",
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive_icon_foreground.png",
"backgroundColor": "#FFF4E2"
Expand Down
18 changes: 18 additions & 0 deletions eas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"cli": {
"version": ">= 2.1.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}
Loading

0 comments on commit a1f86f3

Please sign in to comment.