Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing authenticator in react-native #50

Closed
digitaledge opened this issue Dec 9, 2017 · 4 comments
Closed

Missing authenticator in react-native #50

digitaledge opened this issue Dec 9, 2017 · 4 comments
Labels
investigating This issue is being investigated

Comments

@digitaledge
Copy link

It looks like Authenticator is not exported with the react-native module.

To reproduce:
import { Authenticator } from 'aws-amplify-react-native';

= Authenticator does not exist...

@mlabieniec
Copy link
Contributor

@digitaledge did you link the libraries for react-native? See here:
https://github.com/aws/aws-amplify/blob/master/media/quick_start.md#react-native-development

@mlabieniec mlabieniec added the investigating This issue is being investigated label Dec 10, 2017
@digitaledge
Copy link
Author

Yes, i did.. auth is even working when using the HOC.
Just the Authenticator to custom the auth screens does not import.

@digitaledge
Copy link
Author

I just had a deeper look in to your code and figured out that the export statement for the Authentificator is missing in aws-amplify-react-native/src/index.js.

Right now it can be imported like this:

import { Components } from 'aws-amplify-react-native';
const { Authenticator } = Components;

I will create some pull request this afternoon.

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
investigating This issue is being investigated
Projects
None yet
Development

No branches or pull requests

3 participants