Native module cannot be null
sadikyalcin opened this issue · 2 comments
sadikyalcin commented
Cannot get it working with expo 36. Removing node_modules
and yarn.lock file is not helping.
import FileViewer from 'react-native-file-viewer';
=> Invariant Violation: Native module cannot be null.
gabgagnon commented
Can you tell your solution?
sadikyalcin commented
Can you tell your solution?
Solution is to eject expo. This module is native so it won't work with expo.