Skip to content

Commit

Permalink
Merge pull request #35 from googlemaps/arsalaza/fix-api-key
Browse files Browse the repository at this point in the history
fix: update api key retrieval logic
  • Loading branch information
caio1985 authored Feb 20, 2024
2 parents 1543b1f + ec42d9c commit d1d261e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ import groovy.json.JsonSlurper


def getApiKey(){
return "AIzaSyAt_5eEMSOZva-YH1CUa_TOwX4pOHCsJOo"
def Properties props = new Properties()
props.load(new FileInputStream(new File('local.properties')))
return props['MAPS_API_KEY']
}

buildscript {
Expand Down

0 comments on commit d1d261e

Please sign in to comment.