#sagar_88536
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- sagar_88536, 1 day ago, 22 messages
Hello
What credentials are you trying to access and what issue are you running into exactly?
i want to set some credentials to .env file and not able to access in any react file
which i created a stripe app referring the documentation
These are sensitive credentials?
yes
Hmm well you shouldn't really have sensitive credentials client-side so I don't really understand your use-case in that case.
What are you trying to do exactly?
now worries i need to know about the constants in app.json
i got the point and it is working for now
is there any limit to set the constants
okay thanks
also i want to know a bit about the external test of application some routes are not working in external test app but same routes are workin fine in the development environment
Going to need more details on what "not working" means. Do you see a specific error?
for first it was a cors error which i solved but not it is giving the Cannot read properties of undefined (reading 'constants')
after i set the constants
Okay well that is a bug in your code where it isn't able to read your variable.
Most likely an issue with the import
it mainly imported from const App = ({ userContext, environment }) => { } i guess
There shouldn't really be a difference here in terms of an import between your local environment and test app