You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.
I am working with react-native 0.5. To install, I did an npm install amazon-cognito-identity-js and ran react-native link amazon-cognito-identity-js.
I am importing the modules like this: import { CognitoUserPool, AuthenticationDetails, CognitoUser } from 'amazon-cognito-identity-js'
However, when I run the app, and I console.log(AuthenticationDetails), it comes back as undefined. I also get the error that AuthenticationDetails is not a function when I try to implement the sample code.
Did I miss a step? I've lost a day on trying to debug this, and it's completely confounded me.
The text was updated successfully, but these errors were encountered:
I copy-pasted your import statement directly, and I'm still seeing the same error. The console.log is still returning undefined. It looks like the files are linked correctly in Xcode, as well.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am working with react-native 0.5. To install, I did an
npm install amazon-cognito-identity-js
and ranreact-native link amazon-cognito-identity-js
.I am importing the modules like this:
import { CognitoUserPool, AuthenticationDetails, CognitoUser } from 'amazon-cognito-identity-js'
However, when I run the app, and I console.log(AuthenticationDetails), it comes back as
undefined
. I also get the error thatAuthenticationDetails is not a function
when I try to implement the sample code.Did I miss a step? I've lost a day on trying to debug this, and it's completely confounded me.
The text was updated successfully, but these errors were encountered: