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

Add requiresMainQueueSetup to fix warning in RN 0.49+ #165

Merged
merged 1 commit into from
Jul 17, 2018

Conversation

frankrowe
Copy link
Contributor

In RN 0.49+ the following warning appears
Module A0Auth0 requires main queue setup since it overrides `constantsToExport` but doesn't implement `requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

This implements the requiresMainQueueSetup method and returns true.

Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lbalmaceda lbalmaceda merged commit 4732480 into auth0:master Jul 17, 2018
@lbalmaceda lbalmaceda modified the milestones: v1-Next, v1.3.0 Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants