1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Fix key issue (#1686)

This commit is contained in:
Anthony Sansone
2023-02-28 14:01:14 -06:00
committed by GitHub
parent 4b6a23dd68
commit b4c64cff9a
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
<!-- TODO: Add your Google Maps API key here --> <!-- TODO: Add your Google Maps API key here -->
<meta-data android:name="com.google.android.geo.API_KEY" <meta-data android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyBFVI6nt-1Yn_lFYWMidyqUk8ca0eE1Sv8"/> android:value="YOUR-API-KEY"/>
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"

View File

@@ -11,7 +11,7 @@ import GoogleMaps
GeneratedPluginRegistrant.register(with: self) GeneratedPluginRegistrant.register(with: self)
// TODO: Add your Google Maps API key // TODO: Add your Google Maps API key
GMSServices.provideAPIKey("AIzaSyBFVI6nt-1Yn_lFYWMidyqUk8ca0eE1Sv8") GMSServices.provideAPIKey("YOUR-API-KEY")
return super.application(application, didFinishLaunchingWithOptions: launchOptions) return super.application(application, didFinishLaunchingWithOptions: launchOptions)
} }

View File

@@ -30,7 +30,7 @@
<link rel="icon" type="image/png" href="favicon.png"/> <link rel="icon" type="image/png" href="favicon.png"/>
<!-- Add your Google Maps API key here --> <!-- Add your Google Maps API key here -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBFVI6nt-1Yn_lFYWMidyqUk8ca0eE1Sv8"></script> <script src="https://maps.googleapis.com/maps/api/js?key=YOUR-API-KEY"></script>
<title>google_maps_in_flutter</title> <title>google_maps_in_flutter</title>
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">