title: AWS amplify react-native IdentityPool not found
body: <p>I am trying to implement basic authentication with AWS amplify , the current code does not give me red screens or warnings . The only line the console.log is used shows this
  <code>IdentityPool 'eu-west-1:fbbc514e-e3eb-4176-855c-d0fae5a0eca4' not found. at node_modules/@aws-sdk/client-cognito-identity/dist/cjs/protocols/Aws_json1_1.js:803:40 in deserializeAws_json1_1GetIdCommandError</code></p>
  <pre><code>import React, { useState, useEffect } from 'react'
  
  import { StyleSheet, Text, View, Button } from 'react-native'
  import Amplify, { Auth, Hub } from 'aws-amplify'
  import awsconfig from './src/aws-exports'
  Amplify.configure(awsconfig)
  export default function App () {
    const [user, setUser] = useState('')
    const [isLoggedIn, setIsLoggedIn] = useState(false)
  
    useEffect(() =&gt; {
      Hub.listen('auth', ({ payload: { event, data } }) =&gt; {
        console.log(data)
        switch (event) {
          case 'signIn':
            setUser(data)
            setIsLoggedIn(true)
            console.log('User logged in: ', data)
            break
          case 'signOut':
            setUser('')
            setIsLoggedIn(false)
            console.log('User logged out: ', data)
            break
          case 'customOAuthState':
            setUser(data)
        }
      })
    }, []) //call Hub listen only on component mount &amp; unmount
  
    return (
      &lt;React.Fragment&gt;
        {isLoggedIn ? (
          &lt;View style={styles.container}&gt;
            &lt;Text&gt;User logged in as {user.username}&lt;/Text&gt;
          &lt;/View&gt;
        ) : (
          &lt;View style={styles.container}&gt;
            &lt;Button
              title='FacebookSignIn'
              onPress={() =&gt; {
                Auth.federatedSignIn({ provider: 'Facebook' })
              }}
            /&gt;
          &lt;/View&gt;
        )}
      &lt;/React.Fragment&gt;
    )
  }
  
  const styles = StyleSheet.create({
    container: {
      flex: 1,
      backgroundColor: '#fff',
      alignItems: 'center',
      justifyContent: 'center'
    }
  })
  
  </code></pre>
  <p>Please advice</p>