upd: pake env
Deskripsi: - ganti app.json menjadi app.config.js agar bisa pake env - membuat env - ganti url pake env > api url, storage url, firebase database url, otp url No Issues
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
/**
|
||||
* Below are the colors that are used in the app. The colors are defined in the light and dark mode.
|
||||
* There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
|
||||
*/
|
||||
|
||||
const tintColorLight = '#19345E';
|
||||
const tintColorDark = '#fff';
|
||||
|
||||
|
||||
5
constants/ConstEnv.ts
Normal file
5
constants/ConstEnv.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import Constants from 'expo-constants';
|
||||
|
||||
export const ConstEnv = {
|
||||
url_storage : Constants?.expoConfig?.extra?.URL_STORAGE
|
||||
}
|
||||
Reference in New Issue
Block a user