From ec42d9cf47daa972ed0ddce66d663c769176e71d Mon Sep 17 00:00:00 2001 From: Arturo Salazar Date: Tue, 20 Feb 2024 13:10:56 -0800 Subject: [PATCH] fix: update api key retrieval logic --- android/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index be474b4..6072b72 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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 {