Skip to content
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

[sdk 51] react-native-maps: AirGoogleMaps dir must be added to your xCode project to support GoogleMaps on iOS. #28705

Closed
joonaathaan opened this issue May 9, 2024 · 9 comments
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@joonaathaan
Copy link

joonaathaan commented May 9, 2024

Minimal reproducible example

https://github.com/joonaathaan/expo-mapview

What platform(s) does this occur on?

iOS

Did you reproduce this issue in a development build?

Yes

Summary

the issue started happening right after i migrated to the latest sdk so i set up a new environment with these steps

  • npx create-expo-app@latest
  • yarn set version berry
  • yarn
  • yarn expo install react-native-maps
  • set up your googleMapsApiKey in app.json with the required bundleIdentifier

note that im using vscode

Environment

expo-env-info 1.2.0 environment info:
System:
OS: macOS 14.4.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
Yarn: 4.2.1 - /opt/homebrew/bin/yarn
npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
Watchman: 2024.05.06.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.4, iOS 17.4, macOS 14.4, tvOS 17.4, visionOS 1.1, watchOS 10.4
IDEs:
Xcode: 15.3/15E204a - /usr/bin/xcodebuild
npmPackages:
expo: ^51.0.1 => 51.0.1
react: 18.2.0 => 18.2.0
react-native: 0.74.1 => 0.74.1
Expo Workflow: managed

Expo Doctor Diagnostics

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check native tooling versions
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check for issues with metro config
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that packages match versions required by installed Expo SDK
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK

Didn't find any issues with the project!

@joonaathaan joonaathaan added the needs validation Issue needs to be validated label May 9, 2024
@expo-bot expo-bot added needs review Issue is ready to be reviewed by a maintainer and removed needs validation Issue needs to be validated labels May 9, 2024
@samugit83
Copy link

I've the same problem, the version 50 was ok.

@janis-ax
Copy link

janis-ax commented May 9, 2024

I've the same problem, the version 50 was ok.

Same.

@TadeoJG
Copy link

TadeoJG commented May 9, 2024

Same! +1

@fawzisf
Copy link

fawzisf commented May 9, 2024

+1

@elisabeth0bangoura
Copy link

Same +1

@vinceprofeta
Copy link

same +1

@vecchp
Copy link

vecchp commented May 9, 2024

Same +1

@brentvatne
Copy link
Member

Hi there! Google Maps is no longer supported in Expo Go for iOS. You can use Apple Maps in Expo Go instead (remove the prop provider={PROVIDER_GOOGLE} from your <MapView /> components) or switch to a development build (recommended). If you have already configured Google Maps for your production releases, no additional configuration will be necessary. Learn how to set up a development build.

A few things to note about Expo Go:

  • Expo Go is intended to be a sandbox environment, and we recommend using development builds for any real app. The "Set up your environment" guide will help you get set up with a development build. We also have a full EAS tutorial if you want to learn more, and a concise video course that you can pick and choose lessons from as they are relevant to your use case.
  • Development builds give you full control over the native runtime (you can write native code or include any library you like), they are much closer to your production environment, and you can update SDK versions at whichever pace works for you.
  • You can still install Expo Go for any SDK version on Android emulators, Android devices, and iOS simulators. We've made the process for doing this as easy as possible on https://expo.dev/go.

@edgarscr

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests