Closed devaar100 closed 3 years ago
"react-native": "^0.63.2", "react-native-iap": "5.1.3", "react-native-iaphub": "^6.0.5",
Code import * as IAPHub from 'react-native-iaphub' import { useDispatch } from 'react-redux'
const init = async () => { await IAPHub.init({ appId: "id", apiKey: "key", environment: "production" }) }
I'll be really thankful if someone can help me out with this
Hi @devaar100,
I think your issue is that you should the IAPHUB library like that: import Iaphub from 'react-native-iaphub';
import Iaphub from 'react-native-iaphub';
"react-native": "^0.63.2", "react-native-iap": "5.1.3", "react-native-iaphub": "^6.0.5",
Code import * as IAPHub from 'react-native-iaphub' import { useDispatch } from 'react-redux'
const init = async () => { await IAPHub.init({ appId: "id", apiKey: "key", environment: "production" }) }
I'll be really thankful if someone can help me out with this