In this recipe, you have added Google Maps to your app. This requires three steps:
- Getting the Google Maps credentials and enabling them
- Configuring your app with the credentials
- Using Google Maps in your project
The credentials are free, and you can use Google Maps for free as well, up to a certain threshold. This should be enough for all development purposes and more, but if you want to publish your app, you should take into account the price for using the API.
For more details about pricing and thresholds in Google Maps, visit the following link: https://cloud.google.com/maps-platform/pricing/.
Configuring the app depends on the system you are using. For Android, you need to add the Google Maps information to the Android app manifest. This file contains essential information about your app, including the package name, the permissions that the app needs, and the system requirements.
On iOS, you use the AppDelegate.swift file, the root object of any iOS app, which...