-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running for IOS, support for Google maps is on its way? #633
Comments
|
Splenid. I will have a look. On Thursday, 6 October 2016, James G. Kim notifications@github.com wrote:
|
@mattiLeBlanc It's based on the SDK. |
Awesome! On Thursday, 6 October 2016, James G. Kim notifications@github.com wrote:
|
Has anyone managed to install this properly? I'm trying to follow the install instructions but just keep hitting problems. All I get is "AirGoogleMaps dir must be added to your project". I've tried following the instructions here: https://github.com/airbnb/react-native-maps/blob/master/docs/installation.md (Option1). When it says "Drag the folder" I assume I must be doing that wrong. Am I supposed to be loading the .xcodeproj or .xcworkspace to drag the folders in to? Is it possible to do that on the command-line? Could someone just paste the actual Podfile required (rather than this https://github.com/airbnb/react-native-maps/blob/master/example/ios/Podfile which is a smorgasbord of bits of a Podfile, to me?) (Apologies, I'm from a cordova background where we don't touch stuff like this :) ) |
I second @joewoodhouse , I can't seem to quite get it right, more detailed instructions would be greatly appreciated. |
@joewoodhouse maybe have a look at the SDK implementation of this Google maps plugin: I got it to work and I have to do some stuff in Xcode with my project. Maybe you need to do the same for the AirBnB implementation |
Drag the folder from a finder window, into your xCode project.
If you are using Option1, you can ignore all of the commented code in the example |
@gilbox Yep that's what I've done, and I still get the same errors as above. |
@joewoodhouse what errors are you getting? I don't see any above. |
hmm 2 thoughts
|
I have AIRMap (and AIRMapMarker, AIRMapCircle etc) but no AIRGoogleMap |
excuse my ignorance, but do you know why your folder icons look different? also, if you are installing React as a pod shouldnt it be in the |
Not sure, I'm on XCode 8.0 if that makes any difference. I've no idea if I'm installing React as a Pod or not to be honest, which probably isn't very helpful. Basically I've started a new project with |
|
I'm opening the .xcodeproj |
Please review the cocoapods docs. You can't use GoogleMaps without using CocoaPods in your project. |
On looking I see I am using Pods. @ippa Did you get any further with this? If someone could just write down some command-by-command instructions from |
👍 👍 👍 👍 This would be an awesome contribution. I suggest you become comfortable with |
@joewoodhouse Have you got the result ? I have the same problem |
@Clcll Hi no sadly haven't made any progress with this myself. Was hoping one of the developers/contributors would be able to write up some steps. |
Same problem here, too.
I wonder if this is related to the issue. Thanks. |
@gilbox how do you inspect NativeModules.UIManager? |
@joewoodhouse Did you make any progress with this? |
I'm also having issues with this. |
I was going through the example and saw that for IOS the Apple maps are used. I personally don't like the look of that so I was wondering if I can also for it to run Google maps on IOS?
Is it using a webversion (I see urls to apple maps and google maps in the project) or is using a native component?
I have also been playing with Google SDK example:
https://github.com/Pod-Point-Open-Source/react-native-maps
Not sure what the benefits are of using the SDK over a webversion?
The text was updated successfully, but these errors were encountered: