Skip to content

fix environment variables to match README#1

Open
natejenkins wants to merge 1 commit intomainfrom
fix-environment-variable-names
Open

fix environment variables to match README#1
natejenkins wants to merge 1 commit intomainfrom
fix-environment-variable-names

Conversation

@natejenkins
Copy link
Copy Markdown
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