feat(api-keys): Replace Google Places API key with Google Maps API key across the application

This commit is contained in:
Achintha Isuru
2026-02-16 13:46:01 -05:00
parent 0b787dbc12
commit 6ed12a0519
5 changed files with 7 additions and 9 deletions

View File

@@ -262,7 +262,7 @@ class HubRepositoryImpl
<String, String>{
'place_id': placeId,
'fields': 'address_component',
'key': AppConfig.googlePlacesApiKey,
'key': AppConfig.googleMapsApiKey,
},
);
try {

View File

@@ -25,7 +25,7 @@ class HubAddressAutocomplete extends StatelessWidget {
return GooglePlaceAutoCompleteTextField(
textEditingController: controller,
focusNode: focusNode,
googleAPIKey: AppConfig.googlePlacesApiKey,
googleAPIKey: AppConfig.googleMapsApiKey,
debounceTime: 500,
countries: HubsConstants.supportedCountries,
isLatLngRequired: true,