I started using MS appcenter in my bare react-native app, and during the set up they ask me to add two new files to the project:
- For IOS: AppCenter-Config.plist with
<dict>
<key>AppSecret</key>
<string><MY_SECRET_KEY></string>
</dict>
- And for Android I need to add a JSON file with the key:
{
"app_secret": "<MY_SECRET_KEY>"
}
I'm already using a package in my app to handle .env files: https://github.com/luggit/react-native-config
Is there any way to use this package or another one, in order to get the APP_SECRET
for the appcenter config files from a ENV variable?
I just don't want to keep these keys under version control.