I want to use reverse Geocoding to get an address from a location coordinate inside my notification service extension.
But including this code.
GMSGeocoder().reverseGeocodeCoordinate(self.getLastSavedLocation().coordinate) { response, error in }
crashes the app (shown in attached image)
Removing this code runs the app fine. I am unable to figure out what did I do wrong. This same code works correctly inside the app but crashes in the notification extension, I tried using Apple's reverse geocoder that also works fine on extension, but GMSGeocoder crashes. Please let me know what can be done to fix it.