UNPKG

expo-apple-authentication

Version:

A package that provides 'Sign in with Apple' capability for Expo and React Native apps.

11 lines (7 loc) 310 B
import { requireNativeViewManager } from 'expo-modules-core'; import { Platform } from 'react-native'; let ExpoAppleAuthenticationButton: any; if (Platform.OS === 'ios') { ExpoAppleAuthenticationButton = requireNativeViewManager('ExpoAppleAuthentication'); } export default ExpoAppleAuthenticationButton;