diff --git a/src/containers/inAppPurchaseContainer.js b/src/containers/inAppPurchaseContainer.js index 510f83342..1c8e8430f 100644 --- a/src/containers/inAppPurchaseContainer.js +++ b/src/containers/inAppPurchaseContainer.js @@ -28,7 +28,9 @@ class InAppPurchaseContainer extends Component { async componentDidMount() { try { await RNIap.initConnection(); - await RNIap.flushFailedPurchasesCachedAsPendingAndroid(); + if (Platform.OS === 'android') { + await RNIap.flushFailedPurchasesCachedAsPendingAndroid(); + } } catch (err) { bugsnagInstance.notify(err); console.warn(err.code, err.message);