Skip to content

Commit

Permalink
fix: update api key retrieval logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturoSalazarB16 committed Feb 20, 2024
1 parent 1543b1f commit ec42d9c
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 ec42d9c

Please sign in to comment.