inProgress-team / react-native-meteor

Meteor Reactivity for your React Native application :)
MIT License
693 stars 210 forks source link

[RN 0.46.0 Compatibility] Unable to resolve module ReactNative #248

Closed joncursi closed 7 years ago

joncursi commented 7 years ago

Hitting this packager issue after upgrading to RN 0.46.0:

screen shot 2017-07-06 at 8 20 47 pm

joncursi commented 7 years ago

It looks like these files have moved into a shims folder:

screen shot 2017-07-06 at 8 23 24 pm

joncursi commented 7 years ago

Changing this line:

https://github.com/inProgress-team/react-native-meteor/blob/master/src/Data.js#L1

to

import ReactNative from 'react-native/Libraries/Renderer/shims/ReactNative';

temporarily fixes the issue, however this is probably not the right way to do it in RN 0.46.0 since we should be using the Fiber renderer

Nauzer commented 7 years ago

Will be fixed with https://github.com/inProgress-team/react-native-meteor/pull/247

Nauzer commented 7 years ago

Solved with latest 1.1.0 Release