mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Fix key issue (#1686)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
<!-- TODO: Add your Google Maps API key here -->
|
||||
<meta-data android:name="com.google.android.geo.API_KEY"
|
||||
android:value="AIzaSyBFVI6nt-1Yn_lFYWMidyqUk8ca0eE1Sv8"/>
|
||||
android:value="YOUR-API-KEY"/>
|
||||
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
|
||||
@@ -11,7 +11,7 @@ import GoogleMaps
|
||||
GeneratedPluginRegistrant.register(with: self)
|
||||
|
||||
// TODO: Add your Google Maps API key
|
||||
GMSServices.provideAPIKey("AIzaSyBFVI6nt-1Yn_lFYWMidyqUk8ca0eE1Sv8")
|
||||
GMSServices.provideAPIKey("YOUR-API-KEY")
|
||||
|
||||
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||
|
||||
<!-- 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>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
|
||||
Reference in New Issue
Block a user