-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
24 lines (23 loc) ยท 967 Bytes
/
app.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const IS_BETA = process.env.APP_VARIANT !== 'production';
export default ({ config }) => {
return {
...config,
name: IS_BETA ? '๊ณต์ฃผ๋์ฒ๋ผฮฒ' : '๊ณต์ฃผ๋์ฒ๋ผ',
android: {
...config.android,
googleServicesFile: IS_BETA ? '/Users/jcw1031/Develop/LikeKNU/LikeKNU-ReactNative/secrets/android/google-services-beta.json'
: '/Users/jcw1031/Develop/LikeKNU/LikeKNU-ReactNative/secrets/android/google-services.json',
package: IS_BETA ? 'ac.knu.likeknu.beta' : 'ac.knu.likeknu'
},
ios: {
...config.ios,
googleServicesFile: IS_BETA ? '/Users/jcw1031/Develop/LikeKNU/LikeKNU-ReactNative/secrets/ios/GoogleService-Info-beta.plist'
: '/Users/jcw1031/Develop/LikeKNU/LikeKNU-ReactNative/secrets/ios/GoogleService-Info.plist',
bundleIdentifier: IS_BETA ? 'com.woopaca.likeknu.beta' : 'com.woopaca.likeknu'
},
extra: {
...config.extra,
apiUrl: process.env.SERVER_URL
}
};
};