expo-apple-authentication
Version:
A package that provides 'Sign in with Apple' capability for Expo and React Native apps.
13 lines (8 loc) • 376 B
text/typescript
import { ConfigPlugin, createRunOncePlugin } from 'expo/config-plugins';
import { withAppleAuthIOS } from './withAppleAuthIOS';
const pkg = require('expo-apple-authentication/package.json');
const withAppleAuth: ConfigPlugin = (config) => {
config = withAppleAuthIOS(config);
return config;
};
export default createRunOncePlugin(withAppleAuth, pkg.name, pkg.version);