Newest 'google-places-api+ios' Questions (original) (raw)

10 votes

2 answers

499 views

GooglePlaces SDK Breaks XCode Preview

I have a project connected to the FirebaseSDK which runs perfectly fine in Build, Simulator, Preview, and when Run on my iPhone 16 Pro. However, I need to use the GoogleMaps SDK. When I install the ...

BranHolm's user avatar

asked Nov 23, 2024 at 8:20

I am building an application that is using Apple's MapKit framework as well as Google's Places API. The reason is mainly saving costs. My current situation is, that I have an MKMapItem and want to ...

jonathan112358's user avatar

asked Oct 27, 2024 at 17:59

0 votes

0 answers

70 views

The new Google Places Swift SDK for iOS only results in Internal Error

I am building a new app and am trying to use the new Google Places Swift SDK for iOS. I am following these guides provided by Google: Google Setup Guide and Google Text Search Guide Unfortunately, I ...

jonathan112358's user avatar

asked Oct 27, 2024 at 11:37

0 votes

0 answers

181 views

Google Places Autocomplete API returning "The Places API server returned a response we couldn't understand" (Error Code -2)

I'm using the Google Places API in my iOS app to fetch autocomplete suggestions for places within a specific geographical region. However, I'm receiving an error, and I haven't been able to resolve it....

Yağız Erbay's user avatar

asked Oct 21, 2024 at 20:31

0 votes

0 answers

32 views

Google Places iOS SDK Uses Broken Cryptography API (MD5)

I'm using the Google Places SDK on my iOS Application. I ran a dynamic security scan and it identifies that Google Places uses MD5 hashing functions which have been deprecated since iOS 13. ...

andrew's user avatar

asked May 1, 2024 at 17:18

0 votes

0 answers

50 views

_OBJC_CLASS_$ errors on M1 Macbook - Google Maps-Places

I recently moved my code base from an old intel based macbook to a new M1 based macbook. All of my cocoapods went to hell, so I swapped all of them for swift packages and completely removed all ...

Senator's user avatar

asked Oct 23, 2023 at 15:20

-1 votes

1 answer

98 views

How can i add GMSAutocompleteSessionToken to GMSAutocompleteViewController on iOS

I found the documentation not clear enough on how to add a sessionToken when instantiating a built-in autocomplete controller (GMSAutocompleteViewController). Is this even needed / possible ? Could ...

nelsballs's user avatar

asked Sep 11, 2023 at 11:38

How to fix UI of GMSAutocompleteViewController in iOS 15?

Before iOS 15, the Autocomplete feature was totally fine. However, from iOS 15, the GMSAutocompleteViewController has the bug as can be seen in the following screenshot. The screenshot also shows the ...

Vinh Hung Nguyen's user avatar

asked Apr 22, 2022 at 7:42

building for iOS Simulator, but linking in object file built for iOS

Before I integrated Google Places in my app, I had no problem running it on simulators, but now I can run my app only on physical devices. I tried excluding arm64, like it was suggested in many ...

NoName555's user avatar

asked Nov 14, 2021 at 11:31

GMSPlace Auto Complete Always return same Place coordinate

the return of auto Autocomplete always give the same value. func viewController(_ viewController: GMSAutocompleteViewController, didAutocompleteWith place: GMSPlace) { print("Place name: \...

SafoineMoncefAmine's user avatar

asked Nov 11, 2021 at 9:02

2 votes

2 answers

2k views

Xcode throwing arm64 architecture error for Macmini with M1 chip

I am facing some issues into XCode with Apple New Macmini with M1 chip. Into My Application i used RazorPay so it is throwing below error even after updating pods. Module 'Razorpay' was created for ...

Mitesh Dobareeya's user avatar

asked Feb 18, 2021 at 11:38

Update mapview data in separate view controller

Note: you don't have to be familiar with Google Maps SDK or Places SDK to answer this question. Hi I am using a GMSMapView on my main MapViewController and GMSPlacesClient from Places SDK on a child ...

Brady852's user avatar

asked Jan 25, 2021 at 4:41

-1 votes

1 answer

421 views

How to share data from one react native component to another component

i have a component "Address" were i am using google-places-autocomplete for getting address.After that i extract the needed data (such as Country,postal code etc). And now i want to transfer ...

Suraj Das's user avatar

asked Jan 19, 2021 at 5:35

Migrating to Places 4.0 SDK, how to migrate place Bias?

I am migrating to the new places SDK 4.0 The old func was: findAutocompletePredictions(fromQuery: query, bounds: bounds, boundsMode: .bias, ...

jwarris91's user avatar

asked Oct 14, 2020 at 13:49

How to properly restrict Google Maps (Places, Geocoding) API calls to Android and iOS Apps (written in Flutter)?

I have a mobile app written in Flutter. I am calling Google API's for Places and for Geocoding. Since the calls to these services are made by including the key in the url it is very important that ...

Stanley's user avatar

asked Oct 7, 2020 at 15:16

Invalid search region in United States

We are facing with search region issue with searching school/university type places. let filter = GMSAutocompleteFilter() filter.type = .noFilter After query search by findAutocompletePredictions(). ...

weeeez21's user avatar

asked Sep 15, 2020 at 13:19

Using Google Places API to find nearby places BY TYPE (parks) for iOS SwiftUI

I'm pretty new to Swift/iOS app dev. so far, so I'm struggling to figure this out. Basically, I'm trying to make it so when the app opens (first screen is the map), it automatically finds nearby ...

Martin's user avatar

asked Sep 12, 2020 at 17:14

0 votes

1 answer

848 views

GMSPlaceRectangularLocationOption iOS swift

I have a problem with googlePlace, I don't know how to solve this, thanks for those who will answer use of unresolved 'GMSPlaceRectangularLocationOption' let filter = GMSAutocompleteFilter() filter....

Sandy's user avatar

asked Sep 4, 2020 at 14:18

0 votes

1 answer

227 views

Mocking GMSPlace

I'm currently using Google Places, and created an abstracted place picker, also a concrete implementation using Google Places. I'm doing some unit tests for it. I came to the step where I want to mock ...

EgzonArifi's user avatar

asked Aug 20, 2020 at 18:37

0 votes

1 answer

158 views

ios not invoking a return when using ngx-google-places-autocomplete

I'm using ngx-google-places-autocomplete to retrieve cities in an ionic 4 app. // Add desired cities to intPlaces array handleDesiredCityChange(cities: any): void { console.log('cities', ...

D.Hodges's user avatar

asked Aug 10, 2020 at 12:40

0 votes

2 answers

787 views

Use of unresolved identifier 'GMSAutocompleteSessionToken'

In the Places SDK for iOS (https://developers.google.com/places/ios-sdk/autocomplete), when we implement Get place predictions programmatically (https://developers.google.com/places/ios-sdk/...

Thushara's user avatar

asked Jul 28, 2020 at 11:45

1 vote

0 answers

88 views

Google Places Api, Not found result as expected, want area name under cities

I am developing an application in which I am trying to get only area/localities under the city via google places API but the API is NOT returning all the related results to the related keyword. I am ...

Himanshu's user avatar

asked Jul 22, 2020 at 17:34

How to specify multiple fields in Fetch Place call?

I'm a newbie so pardon me if this question is silly. I'm using the nuget package Xamarin.Google.ios.Places and I'm trying to get Place Details from PlaceID after an AutocompleteFetcher call by using ...

inggy's user avatar

asked May 20, 2020 at 13:46

Retrieving the place ID of a city with the Google Maps/Places SDK on iOS

I have to get the place id of a city using the Google Maps and Google Places SDK-s. I know the GMSPlacesClient contains methods for accessing a location using the place id but not vice versa. What I ...

chnski's user avatar

asked Apr 17, 2020 at 16:16

How to get Google places marker latitude and longitude in swift

I tried to get marker location from didTapAt but i do not get the place id Later i have to fetch place photos and place details. Is there any way to get the exact place id from google markers? func ...

Zain Ul Abideen's user avatar

asked Apr 10, 2020 at 15:06

3 votes

0 answers

562 views

Google maps click on Point of interest returns different placeId on Android and IOS

I am working on react native application using package "react-native-maps": "0.27.0". I am watching for click on Point of interest (poi) and trying to read a location returned object. But there is ...

Franky238's user avatar

asked Mar 31, 2020 at 10:18

2 votes

4 answers

9k views

react-native-google-places-autocomplete not working on React native 0.61

I have added react-native-google-places-autocomplete with yarn in my react-native cli project but it is not working. Here are the issues I am facing at the moment. the places drop down is not showing ...

Ahmad Ali's user avatar

asked Feb 12, 2020 at 11:37

-4 votes

2 answers

379 views

Google Places API Quota Exceeded [closed]

I recently created an iOS app in which I would like to use Google Places API to get information about a restaurant that a user has searched. However, after my first request, the API keeps saying that ...

Pranav Wadhwa's user avatar

asked Feb 11, 2020 at 15:09

2 votes

0 answers

438 views

Google Place Api, Find Place From Text not working

I've been trying to use the google place api to get the shops inside a specified range from my coordinates and street adress as parameter, but not lucky. Would be possible to someone tell me what if I ...

Marcus Rohden's user avatar

asked Feb 6, 2020 at 15:21

1 vote

2 answers

191 views

Operation failed due to exceeding the per-device usage rate limit Places API

We are using Google Places SDK for autocomplete to get address, but experiencing a strange error suddenly. Operation failed due to exceeding the per-device usage rate limit. This status code shouldn'...

Honey's user avatar

asked Jan 20, 2020 at 11:51

0 votes

1 answer

275 views

What is the difference between Places SDK for iOS & Places API under restriction options?

What is the difference between Places SDK for iOS & Places API under restriction options?

Koy Bun's user avatar

asked Dec 13, 2019 at 3:41

1 vote

2 answers

2k views

Display images using Google Place Photos request in Swift

I am trying to display photos of specific locations using a 'photo_reference' provided by Google's Places API. Currently, I am using Google Places API's 'Place Details' requests to get information ...

zlyt's user avatar

asked Dec 8, 2019 at 21:35

How to fetch more than 20 likelihood places from google place api for iOS

I would like to fetch more than 20 likelihood places from google place api for iOS. findPlaceLikelihoodsFromCurrentLocation(withPlaceFields:callback:) returns exactly 20 nearby places. I cannot ...

NkaBall's user avatar

asked Nov 27, 2019 at 21:37

How to request Place Details from Google Places API using place_id in Swift?

Im creating an app that needs to be able to determine what locations are in a given area and then retrieve details about those locations, which then will be displayed. To do this I've been using ...

zlyt's user avatar

asked Nov 20, 2019 at 1:11

how to get places images from google place api in swift

photos = ( { height = 2304; "html_attributions" = ( "<a href=\"https://maps.google.com/maps/contrib/1152719XX951XXXX0531/...

Bhavin Joshi's user avatar

asked Nov 15, 2019 at 7:29

0 votes

2 answers

711 views

Google maps API for adding current location in delivery address

I want to get the API of Google maps which customers can add their current location as the delivery address, just like in swiggy or zomato. Could you guys share the link for that API?

Akshat Agrawal's user avatar

asked Nov 13, 2019 at 19:11

0 votes

0 answers

69 views

Google places api issues

About 6 months ago I developed mobile apps for both IOS and Android, I created an app like uber for that I used google places API and it was working fine but I recently come to know that the google ...

Toqeer Chaudhary's user avatar

asked Nov 12, 2019 at 12:00

Duplicate Title Text when placing GooglePlaces SearchController into NavigationItem in iOS 13

I have an iOS app that uses GooglePlaces API. I use the "Add a Results Controller" technique to implement the search bar, but instead of assigning the searcher to the navigationItem.titleview like so: ...

Ferdinand Rios's user avatar

asked Oct 17, 2019 at 21:09

GMSPlacePickerViewController issue in iOS 13

I was using GMSPlacePickerViewController for selecting a place, it was working fine before iOS 13. After the update of iOS 13 GMSPlacePickerViewController is not working. It always showing an error ...

Pankaj Kumar's user avatar

asked Oct 16, 2019 at 13:34

0 votes

2 answers

512 views

Google PlacePicker not showing the location suggestion

Places SDK error: Error Domain=com.google.places.ErrorDomain Code=-3 "An internal error occurred in the Places SDK library. If you believe this error represents a bug, please file a report using the ...

kunal's user avatar

asked Oct 14, 2019 at 13:43

Can't load search results - Google Places

I'm using Google maps in my application, the autocomplete result not working (Can't load search results try again)! I followed Google Maps's (Places API) Documentation, I already enabled Places API ...

developer1996's user avatar

asked Sep 28, 2019 at 4:05

Flutter - nearby places with google_maps_webservice and google_maps_flutter

The aim of this is to turn places that a user can see around them using the stock google_maps_flutter plugin into clickable markers. On clicking a marker the user should be able to see the name, ...

Jake's user avatar

asked Sep 25, 2019 at 23:36

6 votes

4 answers

11k views

Operation failed due to an invalid (malformed or missing) API key

Using the Google code for IOS described at: autocomplete At the first character entered by the user in the search box, an error occurs: Error: The operation couldn’t be completed. Operation failed ...

Joaquin's user avatar

asked Aug 18, 2019 at 7:27

2 votes

1 answer

127 views

Google Places for iOS SDK v3.2.0 throwing errors

After updating to the latest version (3.2.0) from 2.7.0, the Google places SDK for iOS is throwing an error when I'm calling the new method findAutocompletePredictions: The method GMSClient....

ssesham1's user avatar

asked Jul 24, 2019 at 20:23

Does Apple MapKit have a unique identifier like Google Places does?

I've looked through Apple's documentation and can't find if Apple Maps (i.e. MapKit) offers a unique ID similar to what Google offers with the Places SDK - https://developers.google.com/places/ios-sdk/...

Anthony's user avatar

asked Jun 17, 2019 at 23:24

0 votes

1 answer

424 views

Place Picker Doesn't Load

When i load Place picker it initially loads but later i am not able to select any places as it goes off func placePicker(_ viewController: GMSPlacePickerViewController, didPick place: GMSPlace) { ...

Rahul Pahuja's user avatar

asked May 16, 2019 at 10:14

iOS: Google Places Pod - reached usage limit error after upgrade pod version to 3.1.0

Google recomments to upgrade the iOS Google Places Pod from 2.7.0 to 3.1.0. Version 2.7.0 of the Places SDK for iOS is deprecated as of January 29, 2019, and will be turned off on July 29, 2019 I ...

kuzdu's user avatar

asked May 16, 2019 at 8:22

1 vote

1 answer

735 views

How do we retrieve PlaceID if I have place coordinate info on IOS Swift

I am using GoogleMaps and GooglePlaces APIs. I am trying to retrieve place details when I tap a marker. I understand I can retrieve place detail by using a placeID, but how do I retrieve a PlaceID in ...

Sherry's user avatar

asked May 12, 2019 at 0:43

Google Places Deprecation on iOS

Currently on iOS we are using the URL directly like so: let parameters = @{ @"input": query, @"key": @"MY_API_KEY", @"language": "en", @"components": @"country:ca", }; let url =...

Brandon's user avatar

asked May 6, 2019 at 20:39