Skip to content

Commit

Permalink
configure file base envs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkpatchaa committed Dec 27, 2024
1 parent 6d7a9f9 commit b511d9f
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 62 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/eas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
- name: 🚀 Create Preview with EAS Build and Update
uses: expo/expo-github-action/continuous-deploy-fingerprint@main
with:
profile: development
branch: development
profile: production
branch: production
59 changes: 59 additions & 0 deletions app.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
module.exports = {
expo: {
name: "fingerprint-file-based-secrets",
slug: "fingerprint-file-based-secrets",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: "myapp",
userInterfaceStyle: "automatic",
newArchEnabled: true,
ios: {
supportsTablet: true,
bundleIdentifier: "com.mrkpatchaa.fingerprintfilebasedsecrets",
googleServicesFile: process.env.GOOGLE_SERVICES_PLIST,
},
android: {
googleServicesFile: process.env.GOOGLE_SERVICES_JSON,
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#ffffff",
},
package: "com.mrkpatchaa.fingerprintfilebasedsecrets",
},
web: {
bundler: "metro",
output: "static",
favicon: "./assets/images/favicon.png",
},
plugins: [
"expo-router",
[
"expo-splash-screen",
{
image: "./assets/images/splash-icon.png",
imageWidth: 200,
resizeMode: "contain",
backgroundColor: "#ffffff",
},
],
],
experiments: {
typedRoutes: true,
},
extra: {
router: {
origin: false,
},
eas: {
projectId: "10497834-ff7c-4cef-934a-e6819a29ed39",
},
},
runtimeVersion: {
policy: "fingerprint",
},
updates: {
url: "https://u.expo.dev/10497834-ff7c-4cef-934a-e6819a29ed39",
},
},
};
57 changes: 0 additions & 57 deletions app.json

This file was deleted.

8 changes: 5 additions & 3 deletions eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@
},
"preview": {
"distribution": "internal",
"channel": "preview"
"channel": "preview",
"environment": "preview"
},
"production": {
"autoIncrement": true,
"channel": "production"
"channel": "production",
"environment": "production"
}
},
"submit": {
"production": {}
}
}
}

0 comments on commit b511d9f

Please sign in to comment.