googlemaps / react-native-navigation-sdk

React Native library (Beta) for bringing Google Navigation SDK to Android and iOS apps using React.
https://www.npmjs.com/package/@googlemaps/react-native-navigation-sdk
Apache License 2.0
30 stars 6 forks source link

MapView component issue #281

Closed gabriel11447 closed 1 month ago

gabriel11447 commented 1 month ago

Getting this error after updating from 0.5.1 to 0.6.0 to use MapView component:

TypeError: Cannot read property 'MAP' of undefined

After updating and adding the new component I get this issue when opening the screen with Mapview component

caio1985 commented 1 month ago

@jokerttu can you please verify?

jokerttu commented 1 month ago

@caio1985 I'll look into this

jokerttu commented 1 month ago

Hi @gabriel11447

I was unable to reproduce this issue. I created a new project and implemented both NavigationView and MapView, and both worked as expected.

Please make sure to reinstall all node_modules to ensure your project is using the latest files.

Could you provide more information about your environment? Specifically, the versions of React, React Native, and TypeScript you're using if this issue is still present for you.

jokerttu commented 1 month ago

Closing the issue as no response from @gabriel11447 and not able to re-produce the issue.