Skip to main content
1 vote
0 answers
25 views

I am new to React Native. I’m using react-native-config in a React Native CLI project (not Expo), and it works correctly on iOS but returns an empty object on Android. Environment: react-native: 0.80....
Pratik's user avatar
  • 4,910
0 votes
0 answers
19 views

My RN app have two targets - production and staging, each of them have release and debug configurations. When I have .env file in project root where .env.production and .env.staging are stored, my App ...
CodeBy's user avatar
  • 772
0 votes
0 answers
47 views

I've created two build flavors to have two builds of my react native application. While I run production flavor in debug mode, Config object is populated with correct values, while Config object is ...
CodeBy's user avatar
  • 772
0 votes
1 answer
409 views

I'm upgrading my React Native project from version 0.73.6 to 0.77.2. After completing the upgrade, my iOS build fails with the following error in AppDelegate.swift: No such module 'RNCConfig' ...
Waseem Kurne's user avatar
  • 1,876
0 votes
3 answers
4k views

I followed the instructions on the react-native-config package but Im getting the following error: Native module RNCConfig Module tried to override RNCConfigModule. Check the getPackages() method in ...
Ian's user avatar
  • 2,810
0 votes
1 answer
351 views

While developing a React-native app I was using process.env to check whether my app was in production or development in my app.config.ts : import { ExpoConfig, ConfigContext } from 'expo/config'; ...
Kondor Kondorowski's user avatar
-1 votes
1 answer
726 views

I have a react native named MyApp and it is two app sides managed in single codebase.The app is managed by react native config during its build the config is set to that specific environment like env1 ...
Shubham More's user avatar
-1 votes
1 answer
677 views

When I try to install react-native-config in my react native project on ios I always get the same output: 141 packages are looking for funding run `npm fund` for details 5 high severity ...
Lluís Rodríguez's user avatar
0 votes
2 answers
518 views

I want to store my aws s3 access key and secret key in my react native app. I am storing it in env file and using it via react-native-config. But i received a mail from play console saying the key is ...
Rijan s's user avatar
0 votes
4 answers
1k views

I am developing app with "react-native" and "react-native-config package". I have installed "react-native-config" according to the manual. (https://www.npmjs.com/package/...
Koreahn's user avatar
  • 129
4 votes
2 answers
6k views

I'm rebuilding my Expo app in pure React Native and trying to figure out the environment variable situation. I'm trying out react-native-config, currently on "^1.5.1". I installed using yarn ...
Allen Y's user avatar
  • 720
1 vote
0 answers
92 views

I have configured react-native-config in my app, made two envs file i.e env.dev & env.prod. Now everything is working as per configuration. But now I want to change env to dev or prod depending on ...
jksq's user avatar
  • 55
2 votes
0 answers
212 views

I am trying to get cross account credentials for AWS Client Secret Manager by calling main function in the file. I am getting an error saying Error: Credentials Missing I tried everything, except for ...
Nata Vacheishvili's user avatar
1 vote
4 answers
3k views

I am having trouble using react-native-config in my React Native app. Here's my code: app.js import Config from 'react-native-config'; console.log(Config); .env SECRET_KEY="kndlknv94ii4rpp" ...
user21604832's user avatar
1 vote
0 answers
513 views

Why do I have to clean my build folder in XCode to see the new env values in my app? If I run an env script and then a different env script it will show the values of the previous env file. e.g if i ...
jrs's user avatar
  • 175

15 30 50 per page