Skip to content

Instantly share code, notes, and snippets.

@kenzieschmoll
Last active February 28, 2019 17:10
Show Gist options
  • Save kenzieschmoll/45ee988106ec90bff35e4c1ee3c9d2c9 to your computer and use it in GitHub Desktop.
Save kenzieschmoll/45ee988106ec90bff35e4c1ee3c9d2c9 to your computer and use it in GitHub Desktop.
maps sample - app delegate
#include "AppDelegate.h"
#include "GeneratedPluginRegistrant.h"
// Add the GoogleMaps import.
#import "GoogleMaps/GoogleMaps.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Add the following line with your API key.
[GMSServices provideAPIKey:@"YOUR KEY HERE"];
[GeneratedPluginRegistrant registerWithRegistry:self];
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