I am trying to use the Google Directions API without success. I activated the Google Maps SDK for iOS on the developer console and also the Directions API.
This is the URL I am using:
https://maps.googleapis.com/maps/api/directions/json?origin=48.581380,7.767050&destination=48.581100,7.766790&key=API_KEY
And I am getting the This IP, site , or mobile application is not authorized to use this API Key
.
The key I am using is the iOS API Key.
I saw in a few other questions about this problem that it may be about the iOS API key and browser API Key. I haven't tried with the browser API Key because of this question that is almost the same as mine: no result for query directions API iOS
Could someone point me on the right path or tell me what am I missing?