Then, write the import GoogleMaps statement at the top to avoid iOS build issues. The steps for running Google Maps in a Flutter app for iOS devices are similar to the procedure for Android.įirst, specify your API key in the application delegate ios/Runner/AppDelegate.swift Now the AndroidManifest.xml file should look like this: Replace the value "YOUR KEY HERE" with an API key you created. To be able to use the Google Maps inside the app via the API key you created in the previous section, you’ll have to copy and paste as per the instructions below.įirst, open your Flutter project and navigate to the file at this location: android/app/src/main/AndroidManifest.xml. If it were just for the map, you’d select Maps API from the listĪdding Google Maps in Flutter app (Android)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |