Josh-ES / react-here-maps

React.js HERE Maps component
MIT License
35 stars 25 forks source link

React native compatibility ? #7

Closed minamakhtar closed 7 years ago

minamakhtar commented 7 years ago

Can this component use in react naitve?

Josh-ES commented 7 years ago

This component, like most standard React components, cannot be used with React Native at the moment as it relies quite heavily on the DOM. I am investigating the possibility of either somehow making the existing code base React Native-compatible or creating a fork for React Native.

Josh-ES commented 7 years ago

Libraries and components for React.js, that are intended to be used in the browser, are completely different in their setup to React Native components. Any HERE maps component for React Native would have to be a completely separate project. I've spotted this in my travels, it might be of interest but I haven't used it personally so I can't vouch for it.

https://www.npmjs.com/package/react-native-heremaps

Closing as not solvable.