Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use keys.dev.json instead? #78

Closed
dayaki opened this issue Jun 26, 2024 · 2 comments
Closed

Use keys.dev.json instead? #78

dayaki opened this issue Jun 26, 2024 · 2 comments

Comments

@dayaki
Copy link

dayaki commented Jun 26, 2024

Thanks for this awesome package, I am just curious if it is possible to use my own naming convention for the json files? like keys.dev.json, keys.prod.json?

@ngocle2497
Copy link
Contributor

Thanks for this awesome package, I am just curious if it is possible to use my own naming convention for the json files? like keys.dev.json, keys.prod.json?

For android, u can use flavor. Or use

project.ext.keyFiles = [
debug: 'path to env',
release: 'path to env'
]

For ios, u can create new scheme to switch env file. Or use configuration to switch env:

if ["${CONFIGURATION}" = "Release"]; then
# load env for release
else
# load env for debug
fi

@dayaki
Copy link
Author

dayaki commented Jul 25, 2024

awesome, got it to work.

@dayaki dayaki closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants