expo: 40
os: Android
expo-in-app-purchases
###Steps to Reproduce
npm install expo-in-app-purchases
npm install react-native-unimodules
In my LoadingScreen.js
import * as InAppPurchases from 'expo-in-app-purchases';
componentDidMount() {
this.getDetails()
}
getDetails = async () => {
const history = await InAppPurchases.connectAsync();
}
Actual Behavior
The result is…
undefined is not an object (evaluating ‘_ExpoInAppPurchases.default.connectAsync’)
if I use
await InAppPurchases.connectAsync();
Is this a bug in expo ?