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:
2025-08-15 17:20:23 +08:00
parent 0956dea846
commit 7810eb1686
10 changed files with 93 additions and 17 deletions

View File

@@ -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
View File

@@ -0,0 +1,5 @@
import Constants from 'expo-constants';
export const ConstEnv = {
url_storage : Constants?.expoConfig?.extra?.URL_STORAGE
}