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

Env in build.gradle #190

Closed
Rena-Ivis opened this issue Jun 28, 2021 · 3 comments
Closed

Env in build.gradle #190

Rena-Ivis opened this issue Jun 28, 2021 · 3 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@Rena-Ivis
Copy link

Can I use .env variable in app/build.gradle ?

@github-actions
Copy link

Hey, thank you for opening this issue! 🙂 To boost priority on this issue and support open source please tip the team at https://issuehunt.io/r/goatandsheep/react-native-dotenv/issues/190

@goatandsheep
Copy link
Owner

No. it's not Javascript, so Babel can't change it. Take a look at this article on how to create multiple different builds https://reactnative.dev/docs/signed-apk-android#adding-signing-config-to-your-apps-gradle-config

@stale
Copy link

stale bot commented Aug 27, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 27, 2021
@stale stale bot closed this as completed Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants