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

fix environment variables to match README #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

natejenkins
Copy link
Collaborator

The README asks for the following in ~/.gradle/gradle.properties:

CITYMAPPER_API_KEY=[your API key]
CITYMAPPER_ENDPOINT_URL=[your API endpoint url]
CITYMAPPER_SAMPLE_GOOGLE_MAP_KEY=[your google map key]

However the module build.gradle has:

  buildConfigField "String", "CITYMAPPER_API_KEY", "\"${project.findProperty("SAMPLE_API_KEY") ?: ""}\""
  buildConfigField "String", "CITYMAPPER_ENDPOINT_URL", "\"${project.findProperty("SAMPLE_ENDPOINT_URL") ?: ""}\""

So it is looking for SAMPLE_API_KEY instead of CITYMAPPER_API_KEY.

Modifying these names fixes the demo.

@natejenkins natejenkins requested a review from benkay May 18, 2022 15:25
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

Successfully merging this pull request may close these issues.

1 participant