Skip to content

Commit d4272f1

Browse files
committed
fix: fix splash screen background color
1 parent 2050998 commit d4272f1

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

.env.development

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
API_URL=https://dummyjson.com/
2-
EAS_PROJECT_ID=
32

43
## TOTO: add the variable to your CI and remove it from here, not recommended setting sensitive values on your git repo
54
SECRET_KEY=my-secret-key

.env.production

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
API_URL=https://dummyjson.com/
2-
EAS_PROJECT_ID=
32

43
## TOTO: add the variable to your CI and remove it from here, not recommended setting sensitive values on your git repo
54
SECRET_KEY=my-secret-key

.env.staging

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
API_URL=https://dummyjson.com/
2-
EAS_PROJECT_ID=c3e1075b-6fe7-4686-aa49-35b46a229044
32

43
## TOTO: add the variable to your CI and remove it from here, not recommended setting sensitive values on your git repo
54
SECRET_KEY=my-secret-key

README-project.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Mobile App </h1>
44

55
> This Project is based on [Obytes starter](https://starter.obytes.com)
66
7-
## 🔗 Requirements
8-
97
## Requirements
108

119
- [React Native dev environment ](https://reactnative.dev/docs/environment-setup)

app.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
1616
splash: {
1717
image: './assets/splash.png',
1818
resizeMode: 'cover',
19-
backgroundColor: '#2A3D4C',
19+
backgroundColor: '#2E3C4B',
2020
},
2121
updates: {
2222
fallbackToCacheTimeout: 0,
@@ -30,7 +30,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
3030
android: {
3131
adaptiveIcon: {
3232
foregroundImage: './assets/adaptive-icon.png',
33-
backgroundColor: '#2A3D4C',
33+
backgroundColor: '#2E3C4B',
3434
},
3535
package: Env.PACKAGE,
3636
},
@@ -51,7 +51,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
5151
[
5252
'app-icon-badge',
5353
{
54-
enabled: true,
54+
enabled: Env.APP_ENV !== 'production',
5555
badges: [
5656
{
5757
text: Env.APP_ENV,

env.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const BUNDLE_ID = 'com.obytes'; // ios bundle id
3535
const PACKAGE = 'com.obytes'; // android package name
3636
const NAME = 'ObytesApp'; // app name
3737
const EXPO_ACCOUNT_OWNER = 'obytes'; // expo account owner
38+
const EAS_PROJECT_ID = 'c3e1075b-6fe7-4686-aa49-35b46a229044'; // eas project id
3839

3940
/**
4041
* We declare a function withEnvSuffix that will add a suffix to the variable name based on the APP_ENV
@@ -102,7 +103,7 @@ const _clientEnv = {
102103
*/
103104
const _buildTimeEnv = {
104105
EXPO_ACCOUNT_OWNER,
105-
EAS_PROJECT_ID: process.env.EAS_PROJECT_ID,
106+
EAS_PROJECT_ID,
106107
// ADD YOUR ENV VARS HERE TOO
107108
SECRET_KEY: process.env.SECRET_KEY,
108109
};

0 commit comments

Comments
 (0)