1import { NativeModulesProxy } from 'expo-modules-core'; 2export default NativeModulesProxy.ExpoAppleAuthentication || 3 // If the real native module doesn't exist, make a pretend one, instead of 4 // `null`, so we can offer an `isAvailableAsync` (that will always give 5 // `false`, because we're on an unsupported platform). 6 { 7 isAvailableAsync() { 8 return Promise.resolve(false); 9 }, 10 // RN v0.65 gives a console warning if this method is missing; see 11 // https://github.com/facebook/react-native/commit/114be1d21 12 addListener() { 13 // Nothing to do; unsupported platform. 14 return Promise.resolve(); 15 }, 16 // RN v0.65 gives a console warning if this method is missing; see 17 // https://github.com/facebook/react-native/commit/114be1d21 18 removeListeners() { 19 // Nothing to do; unsupported platform. 20 return Promise.resolve(); 21 }, 22 }; 23//# sourceMappingURL=ExpoAppleAuthentication.js.map