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

Warning for deprecated method "removeEventListener()" with "react-native" "0.65.1" #410

Closed
ripupo88 opened this issue Sep 16, 2021 · 3 comments
Labels
waiting for customer This issue is waiting for a response from the issue or PR author

Comments

@ripupo88
Copy link

Describe the problem

I get this warn when use auth0.webAuth.authorize( );

_WARN EventEmitter.removeListener('url', ...): Method has been deprecated. Please instead use 'remove()' on the subscription returned by 'EventEmitter.addListener'._

What was the expected behavior?

Do not get Warnings messages.

Reproduction

  • Step 1.. Use auth0.webAuth.authorize( ); to go Auth0 and login,
  • Step 2.. Login in Auth0
  • Step 3.. When back to the app, get the warn message.

Environment

  • "react-native-auth0": "^2.10.0",
  • React Native CLI:
  • "react": "17.0.2",
  • "react-native": "0.65.1",
@lbalmaceda lbalmaceda removed their assignment Sep 28, 2021
@lbalmaceda
Copy link
Contributor

Thanks for the PR. I left a review there.

@lbalmaceda lbalmaceda added the waiting for customer This issue is waiting for a response from the issue or PR author label Sep 28, 2021
@lbalmaceda lbalmaceda linked a pull request Sep 28, 2021 that will close this issue
5 tasks
@lbalmaceda lbalmaceda changed the title Wanring for deprecated method "removeEventListener()" with "react-native" "0.65.1" Warning for deprecated method "removeEventListener()" with "react-native" "0.65.1" Sep 28, 2021
@breynolds-dev
Copy link

breynolds-dev commented Nov 21, 2021

I'm trying to get these errors resolved to clean up warnings in my project - are there any updates on this PR?

EDIT: I went and updated everything again with the latest code changes in a new fork and have it all ready to open a new PR if needed to get this resolved

@Widcket
Copy link
Contributor

Widcket commented Dec 13, 2021

Hi @breynolds-dev, please feel free to raise a new PR. Please make sure the tests pass (that's the reason the existing PR is still open).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for customer This issue is waiting for a response from the issue or PR author
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants