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:
@@ -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"
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user