Amplify-js: No userPool error with react native

Created on 28 May 2018  路  6Comments  路  Source: aws-amplify/amplify-js

I keep getting userpool error when I try to authenticate using auth from aws-amplify below are my dev dependencies, been trying to reinstall, making a new project from the start but gets me nowhere

"amazon-cognito-identity-js": "^2.0.6",
"aws-amplify": "^0.4.1",
"aws-amplify-react-native": "^0.2.12",
"npm": "^5.7.1",
"react": "16.0.0",
"react-native": "0.51.0",
"react-navigation": "^2.0.2"

Most helpful comment

@amls reason to close? was it fixed?

All 6 comments

same with the react web app example. I suspect there is some Cognito stuff you need to setup but I really thought that would be automatically be setup or at least more documentation is needed for people who aren't familiar with Cognito like #929

have you found a fix @whatsdis ?

Followed this example https://github.com/aws-samples/aws-mobile-react-sample, failed with No userPool error. Expected to work out of the box as awsmobile start my-project react sets up all the cloud eps automatically.

@amls reason to close? was it fixed?

@amls Can this be reopened? I'm receiving the "No Userpool" error as well, with:

"react-native": "0.55.4",
"aws-amplify": "^0.4.4",
"aws-amplify-react-native": "^0.2.15",

I've confirmed my User Pool exists, and that there are Confirmed users in the pool.

Yes, I just forgot adding this in my App.js file, right above export default like this

import AWSConfig from './aws-exports'
Amplify.configure(AWSConfig);


export default class App extends React.Component {
Was this page helpful?
0 / 5 - 0 ratings