I am trying to put restrictions on Google Maps API Key used for both Google Maps SDK on iOS and Geocoding.
Choice 1: Use one API Key.
However, when I restrict an API Key in the following combination, it does not work:
- Application Restriction: iOS Apps
- API Restriction: Geocoding API
Alternative workaround I found, create two API Keys:
- API Key 1: Maps SDK for iOS; Application Restriction: iOS Apps
- API Key 2: Geocoding API; API restriction: Geocoding API
The problem with the alternative solution is, my API Key 2 remains vulnerable since there is no Application Restriction in place.