We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Remove QuizApi key from kotlin file and move to an environment not to be visible in commits
The text was updated successfully, but these errors were encountered:
Create a .env file in the root directory of your project. In the .env file, add the following line:
API_KEY=YOUR_API_KEY
When you are working locally, you can access your API key by using the following code:
String apiKey = System.getenv("API_KEY");
You can then use the API key in your Android code. For example, you can use it to make an API call.
Here is an example of how to use an API key to make an API call in Android:
service.getSomething(System.getenv("API_KEY"));
Sorry, something went wrong.
Nodrex
No branches or pull requests
Remove QuizApi key from kotlin file and move to an environment not to be visible in commits
The text was updated successfully, but these errors were encountered: