import React from 'react'; import { Button, Text } from 'react-native'; import 'react-native-get-random-values'; import 'react-native-url-polyfill/auto'; import { Amplify } from 'aws-amplify'; import { Authenticator, useAuthenticator, InAppMessageDisplay, InAppMessagingProvider, } from '@aws-amplify/ui-react-native'; import awsExports from './aws-exports'; Amplify.configure(awsExports); function SignOutButton() { const { signOut } = useAuthenticator(); return