UNPKG

@adyen/react-native

Version:

Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native

16 lines (15 loc) 549 B
"use strict"; import { createRunOncePlugin } from '@expo/config-plugins'; import { withAdyenAndroid } from './withAdyenAndroid'; import { withAdyenIos } from './withAdyenIos'; const pkg = require('@adyen/react-native/package.json'); const withAdyen = (config, props) => { config = withAdyenIos(config, props ?? { merchantIdentifier: undefined, useFrameworks: false }); config = withAdyenAndroid(config); return config; }; export default createRunOncePlugin(withAdyen, pkg.package, pkg.version); //# sourceMappingURL=withAdyen.js.map