prscX / react-native-tooltips

React Native: Native Tooltip View
Apache License 2.0
271 stars 40 forks source link

importing 'NativeModules' from react returns empty object #18

Open VictorPuga opened 5 years ago

VictorPuga commented 5 years ago

When I import NativeModules from react, it is an empty object, so let { RNTooltips } = NativeModules doesn't work

prscX commented 5 years ago

Thanks @VictorPuga for raising the query.

It happens when installation steps are missmatched. Can you please install and link it again by following README guidance.

Thanks </ Pranav >

VictorPuga commented 5 years ago

But what happens if I'm using Expo, so I can't follow those steps?

prscX commented 5 years ago

@VictorPuga: I am not sure about Expo. I have never tried libraries to install with Expo. I need to do some background R&D around the same, but it will take some time.

Thanks, </ Pranav >

cosivox commented 5 years ago

I have the same issue and I’ve already installed and linked several times.

Ps. I’m not using expo