Skip to main content

Clear Transaction IOS

clearTransactionIOS

Clear the remaining transactions.

See https://github.com/hyochan/react-native-iap/issues/257 See https://github.com/hyochan/react-native-iap/issues/801

Signature

clearTransactionIOS(): Promise<void>

Usage

import React, {useEffect} from 'react';
import {View} from 'react-native';
import {clearTransactionIOS} from 'react-native-iap';

const App = () => {
useEffect(() => {
void clearTransactionIOS();
}, [])

return <View />;
}