mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
825 B
22 lines
825 B
// Copyright 2019 The Flutter team. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "AppDelegate.h"
|
|
#include "GeneratedPluginRegistrant.h"
|
|
#import "GoogleMaps/GoogleMaps.h"
|
|
|
|
@implementation AppDelegate
|
|
|
|
- (BOOL)application:(UIApplication *)application
|
|
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
// TODO: Replace this with an API key that has Google Maps for iOS enabled
|
|
// See https://developers.google.com/maps/documentation/ios-sdk/get-api-key
|
|
[GMSServices provideAPIKey: @"ADD_A_KEY_HERE"];
|
|
[GeneratedPluginRegistrant registerWithRegistry:self];
|
|
// Override point for customization after application launch.
|
|
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
|
}
|
|
|
|
@end
|