Skip to content

A react native app to distribute oxygen concetrators in Tunisia based on the location

License

Notifications You must be signed in to change notification settings

elfalehed/oxycare-mobile

 
 

Repository files navigation

oxycare-mobile

a mobile android version of oxycare.

drawing drawing drawing drawing drawing drawing drawing
Different environments Save config for different environments in different files: .env.staging, .env.production, etc.

By default react-native-config will read from .env, but you can change it when building or releasing your app.

The simplest approach is to tell it what file to read with an environment variable, like:

$ ENVFILE=.env.staging react-native run-android # bash $ SET ENVFILE=.env.staging && react-native run-android # windows $ env:ENVFILE=".env.staging"; react-native run-android # powershell This also works for run-ios. Alternatively, there are platform-specific options below.

Android The same environment variable can be used to assemble releases with a different config: $ cd android && ENVFILE=.env.staging ./gradlew assembleRelease

Contributors ✨

Thanks goes to these wonderful people (emoji key):

💬

Mohamed E.Faleh

💻 📖 👀 📢

Riadh Farhati

🌍 💻 📖

About

A react native app to distribute oxygen concetrators in Tunisia based on the location

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 71.2%
  • Java 13.8%
  • HTML 6.8%
  • Objective-C 6.1%
  • Ruby 1.1%
  • Starlark 0.8%
  • Shell 0.2%