Skip to content

Commit df611f2

Browse files
committed
fix: app.config.js
1 parent 8015ebd commit df611f2

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

examples/sync-demo-expo/app.config.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const IS_DEV = process.env.APP_VARIANT === 'development';
1+
require('dotenv').config();
22

33
export default {
44
expo: {
5-
name: IS_DEV ? 'sync-demo-expo (Dev)' : 'sync-demo-expo',
5+
name: 'sync-demo-expo',
66
slug: 'sqlite-sync-demo',
77
version: '1.0.0',
88
orientation: 'portrait',
@@ -11,7 +11,7 @@ export default {
1111
newArchEnabled: true,
1212
extra: {
1313
eas: {
14-
projectId: process.env.EAS_PROJECT_ID || 'YOUR_EAS_PROJECT_ID',
14+
projectId: process.env.EAS_PROJECT_ID,
1515
},
1616
},
1717
plugins: [
@@ -37,9 +37,7 @@ export default {
3737
},
3838
ios: {
3939
supportsTablet: true,
40-
bundleIdentifier:
41-
process.env.IOS_BUNDLE_IDENTIFIER ||
42-
'com.yourcompany.sqlitesyncexample',
40+
bundleIdentifier: process.env.IOS_BUNDLE_IDENTIFIER,
4341
infoPlist: {
4442
UIBackgroundModes: ['remote-notification'],
4543
ITSAppUsesNonExemptEncryption: false,
@@ -51,8 +49,7 @@ export default {
5149
backgroundColor: '#ffffff',
5250
},
5351
edgeToEdgeEnabled: true,
54-
package:
55-
process.env.ANDROID_PACKAGE || 'com.yourcompany.sqlitesyncexample',
52+
package: process.env.ANDROID_PACKAGE,
5653
minSdkVersion: 26,
5754
googleServicesFile: './google-services.json',
5855
},

0 commit comments

Comments
 (0)