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 exposed. How should i handle this ? What is the best way to store secret keys in react native ?
I received a credential leaked alert from play console
Indeed, according to the React Native docs :
The solution must be to add a protective layer, many options exist (your own backend server + domain name, using a serverless options - AWS Lambda...)