Put key, secret and auth token in env variables


#1

I’m creating a react native app. Following the documentation, when I do react-native link, there is the API key and secret added to the code:

Sentry.config(‘https://key:secret@sentry.io/285564’).install();

And in sentry.properties file there is an auth token

Do you think that is important to add them as environment variables? Or it is ok to commit my changes like this?

Thanks!