2
https://github.com/chirag04/react-native-in-app-utilsm을 사용하는 iOS 앱에 대한 지불을 설정하려고하는데 NativeModules를로드 할 때 InAppUtils 속성이있어 정의되지 않은 값을 반환하는 작은 문제가 있습니다.Native In App Utils
import { NativeModules } from 'react-native'
const { InAppUtils } = NativeModules
...
componentWillMount() {
console.log(InAppUtils
}
rnpm install --save react-native-in-app-utils
과 npm install --save react-native-in-app-utils; react-native-link
을 모두 사용하여 설치했습니다. 두 경우 모두 Xcode에서 라이브러리가 제대로 링크 된 것처럼 보입니다.
라이브러리가 제대로 설치되어 있는지 어떻게 확인할 수 있습니까?