Amplify v6 config in React Native – switch from apiToken to userPool?
I have an RN Amplify project setup and working, the default for the Amplify config is "aws_appsync_authenticationType": "API_KEY",
. This is “public” mode. The app also supports Cognito user pool for users who want to create an account. Right now what I do is call Amplify.configure()
like so to switch to userPool
when a user creates an account: