react-native-maps icon indicating copy to clipboard operation
react-native-maps copied to clipboard

issue with step 7 configuring the IOS Setup Guide

Open mattiLeBlanc opened this issue 8 years ago • 4 comments

Hi,

I got me a cup of steaming coffee and started following the steps for the IOS Setup Guide. All well, but at step 7: Open up AppDelegate.m and add #import "PPTGoogleMapProvider.h" at the top of the file. Then add [PPTGoogleMapProvider provideAPIKey]; somewhere in the application method, ideally at the top. I run into an issue that my #import at the top for PPTGoogleMapProvider.h doesnt seem to work cause on the line where I have added [PPTGoogleMapProvider provideAPIKey] I get a `No known class method for selector 'providerAPIKey'.

I am a complete NOOB in Objective C so I have no idea where to start to solve this. The import of the PPTGooleMapProvider is correct and recognised.

**update: I realised in step 3 that I got a new version of Google Maps (1.13.2) so I amended that. However it doesn't solve Step 7 yet. I side stepped the issue for now by adding the key directly in the application loader; [GMSServices provideAPIKey:@"myKeyHere"];

mattiLeBlanc avatar Oct 01 '16 02:10 mattiLeBlanc