Closed ptmt closed 8 years ago
@ptmt I haven't. Those modules all support Android as well. Have you found any examples from modules that are iOS or Android only?
Actually, no I have not. But have the similar issue with react-native-linear-gradient. Am I missing something or nobody haven't use the latest Jest with these modules yet, I don't know. Will investigate further.
@ptmt Sorry about the delay! Merging this in and publishing to npm shortly 👍
@ptmt just published as react-native-safari-view@1.2.0
It seems that .ios and .android suffixes confuse some JavaScript infrastructure tools like Jest or ESLint. I looked over a few other modules like (react-native-svg, react-native-vector-icons, react-native-maps, etc.), they have root platform-independent file. Do you use react-native-safari-view with Jest and ESLint? Have you managed to avoid
module not found
problem?