mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Initial commit flutter_maps_firestore (#93)
This commit is contained in:
committed by
Andrew Brogdon
parent
f79f7d20b5
commit
599c865629
21
flutter_maps_firestore/ios/Runner/AppDelegate.m
Normal file
21
flutter_maps_firestore/ios/Runner/AppDelegate.m
Normal file
@@ -0,0 +1,21 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user