Skip to content

Instantly share code, notes, and snippets.

@shyvum
Created June 11, 2019 09:45
Show Gist options
  • Save shyvum/9f80ded4534ae68ae572462234e575aa to your computer and use it in GitHub Desktop.
Save shyvum/9f80ded4534ae68ae572462234e575aa to your computer and use it in GitHub Desktop.
#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"
// Add the following import.
#import "GoogleMaps/GoogleMaps.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[GeneratedPluginRegistrant registerWithRegistry:self];
// Add the following line, with your API key
[GMSServices provideAPIKey: @"YOUR-API-KEY"];
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment