Real-Dev-Squad / mobile-app

The main app for our organization
MIT License
12 stars 30 forks source link

Implement Feature Flag Builds for Staging, and Prod Environments in React Native Apps #143

Open shreya-mishra opened 1 year ago

shreya-mishra commented 1 year ago

Description

This task involves implementing feature flag builds for React Native (RN) applications, specifically targeting Staging (User Acceptance Testing), and Prod (Production) environments. Feature flags allow for the controlled release and testing of new features, enabling a more streamlined development and deployment process.

The primary objectives of this task include:

  1. Integrating feature flag libraries or frameworks into the React Native project.
  2. Configuring the feature flag library to support different environments, such as Staging, and Prod.
  3. Defining and managing feature flags for each environment, enabling selective feature activation.
  4. Ensuring the ability to toggle feature flags on and off during runtime, without requiring app updates.
  5. Documenting the implementation process and providing instructions for developers to easily set up and use the feature flag builds.
  6. By completing this task, we aim to achieve greater flexibility and control over feature releases in React Native applications, facilitating efficient testing and deployment in different environments.

In case of any doubts please reach out to me or you can mention it in our mobile-app-react-native channel

dakshbhardwaj commented 1 year ago

@shreya-mishra instead of a feature flag, can we do something like this keeping two separate bundles one for the uat build and one for the production.

basically, we will have two separate commands in package.json one for building the uat and for the production app and when we are done with testing on uat then we can then make the production application and then release the app using code push.

shreya-mishra commented 1 year ago

@dakshbhardwaj can we have ETA ?

dakshbhardwaj commented 1 year ago

@dakshbhardwaj can we have ETA ? yes, 15/10/22

mohammadkhizerkhan commented 1 year ago

HI @shreya-mishra please assign me this task.