September 2019
Beginner
512 pages
12h 52m
English
In iOS, we change the ios/Runner/AppDelegate.swift file by adding the code responsible for setting the API key on the plugin:
import UIKitimport Flutterimport GoogleMaps@UIApplicationMain@objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]? ) -> Bool { GMSServices.provideAPIKey("YOUR KEY HERE") GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) }}
Read now
Unlock full access