Setup Multiple Environments in React Native | Development & Production

  Рет қаралды 2,929

onedev

onedev

Күн бұрын

Пікірлер
@plujudramunqk
@plujudramunqk 9 ай бұрын
Wow, this is by far the best video of how to set RN environments. Thank you. Saved my day 🙏
@onedevv
@onedevv 9 ай бұрын
Hey @plujudramunqk I really appreciate your comment, very glad to hear that! I’ll keep uploading uploading videos. Let me know if you need one about something specific.
@KiranJadhav-x8w
@KiranJadhav-x8w 23 күн бұрын
Thank you for the video..!
@onedevv
@onedevv 23 күн бұрын
I’m happy to help you!
@johnanoni
@johnanoni 8 ай бұрын
I was following the doc for IOS but didn't work for me, this saved me. Thanks a lot men 💪
@onedevv
@onedevv 8 ай бұрын
Hey @johnanoni that is awesome and I'm happy to hear that! I'll keep making more tutorials so let me know if you need one about something in specific
@johnanoni
@johnanoni 8 ай бұрын
@@onedevv About the TestFlight configuration it would be great
@onedevv
@onedevv 8 ай бұрын
@johnanoni Added to the list! ✅
@everlastingstudios2467
@everlastingstudios2467 7 ай бұрын
Thank you so much !!! 🙏 This is working for me my package.json script is like this { "setDevelopmentEnvFile": "ENVFILE=.env.development", "setStagingEnvFile": "ENVFILE=.env.staging", "setQAEnvFile": "ENVFILE=.env.qa", "setProductionEnvFile": "ENVFILE=.env.production", "android": "react-native run-android", "ios": "react-native run-ios", "lint": "eslint .", "start": "react-native start", "test": "jest", "start:dev": "yarn setDevelopmentEnvFile react-native start", "start:qa": "yarn setQAEnvFile react-native start", "start:prod": "yarn setProductionEnvFile react-native start", "start:stage": "yarn setStagingEnvFile react-native start" }
@onedevv
@onedevv 6 ай бұрын
Amazing! Really happy it helped you!
@MagedMegz95
@MagedMegz95 5 ай бұрын
Thank you very much. Very much detailed (y)
@onedevv
@onedevv 4 ай бұрын
Happy to help you!
@KahraSolo
@KahraSolo 5 ай бұрын
Thank you!
@thangnguyenthanh5000
@thangnguyenthanh5000 4 ай бұрын
Thank you so much!
@hassamshamas5432
@hassamshamas5432 6 ай бұрын
I'm getting this error: 'ENVFILE' is not recognized as an internal or external command, operable program or batch file.
@onedevv
@onedevv 6 ай бұрын
Are you working on Windows? If that is the case, try adding "set" before "ENVFILE=..." (without the "")
@hassamshamas5432
@hassamshamas5432 6 ай бұрын
@@onedevv yes I’m on Windows
@hassamshamas5432
@hassamshamas5432 6 ай бұрын
@@onedevv Thank you it is working now!!!
@onedevv
@onedevv 6 ай бұрын
@@hassamshamas5432 Awesome! You are welcome!
@hassamshamas5432
@hassamshamas5432 6 ай бұрын
@@onedevv I have just one question, how can I change the app Names? I just need android apps
@DaniyalBaig-sr1bs
@DaniyalBaig-sr1bs 6 ай бұрын
how we will set environment while releasing bundle?
@onedevv
@onedevv 6 ай бұрын
Doesn't it work adding the setLocal/setProduction to the command?
@udayjariwala-mj2fg
@udayjariwala-mj2fg 7 ай бұрын
not working every time local run
@onedevv
@onedevv 6 ай бұрын
Could you tell me exactly what is not working for you? Are you getting an error or what is the issue? Please provide me some details so I can help you
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 102 МЛН
Это было очень близко...
00:10
Аришнев
Рет қаралды 7 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 91 МЛН
REAL MAN 🤣💪🏻
00:35
Kan Andrey
Рет қаралды 4,6 МЛН
React Native just dropped a MASSIVE update
15:06
Mehul - Codedamn
Рет қаралды 60 М.
Easily Change App Logo in React Native (iOS & Android)
10:05
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 75 М.
The Better Way to Manage React State
7:38
Josh tried coding
Рет қаралды 27 М.
DRM explained - How Netflix prevents you from downloading videos?
18:17
Mehul - Codedamn
Рет қаралды 160 М.
React Native - Multi Environments
6:33
BungFerdly
Рет қаралды 19 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 102 МЛН