Closed engmsaleh closed 6 years ago
What version of RN and this package are you running? Also what did it fail on? It's helpful to supply more information.
react-native link
should work with the latest.
I have a Issue like that, I'm using the command react-native install react-native-in-app-utils
and when I'm trying to use
const { InAppUtils } = NativeModules
I get InAppUtils undefined, also in Xcode don't see any of InAppUtils, I think must be a guide to linking manually, I linked manually and works.
NOTE
Doesn't link anything when use react-native link
only appears iOS module react-native-in-app-utils is already linked
but in Xcode nothing appears and InAppUtils was undefined too.
@mcanobbio try to manually link react-native-in-app-utils if it's not already linked.
thanks @chirag04 i did it and works fine 👍
Glad it worked out
I have installed the library using
npm install
and tried to link it usingnpm link
but the project didn't link and I have to go and link it manually.