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

Cannot read property 'launchAuthentication' of undefined #38

Open
maphongba008 opened this issue Oct 14, 2016 · 1 comment
Open

Cannot read property 'launchAuthentication' of undefined #38

maphongba008 opened this issue Oct 14, 2016 · 1 comment

Comments

@maphongba008
Copy link

maphongba008 commented Oct 14, 2016

I got this issue, anyone know how to fix it?
React native: 0.34.1
My code:

<DigitsLoginButton buttonStyle={{
                            width: 100,
                            height: 100,
                            backgroundColor: 'red'
                        }} />

simulator screen shot oct 14 2016 2 01 41 pm

@brascene
Copy link

You're probably missing other DigitsLoginButton props. Having only buttonStyle is not enough, you must provide:

  • ref='DigitsLoginButton'
  • completion={this.completion}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants