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

Deprecated method EventEmitter.removeListener throws warning #305

Closed
rafaelgtraverso opened this issue Oct 15, 2021 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@rafaelgtraverso
Copy link

rafaelgtraverso commented Oct 15, 2021

If the demo apps cannot help and there is no issue for your problem, tell us about it

When running the app in android I receive following warning:

 WARN: EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.

Which platform(s) does your issue occur on?

  • Android
  • emulator or device. Both

Please, provide the following version numbers that your issue occurs with:

  • CLI: 7.21.1
  • Plugin(s):
"dependencies": {
    "@aws-amplify/datastore": "^3.4.8",
    "@azure/core-asynciterator-polyfill": "^1.0.0",
    "@eva-design/eva": "^2.1.1",
    "@react-native-async-storage/async-storage": "^1.15.8",
    "@react-native-community/datetimepicker": "^3.5.2",
    "@react-native-community/netinfo": "^6.0.2",
    "@react-native-cookies/cookies": "^6.0.11",
    "@react-navigation/bottom-tabs": "^6.0.7",
    "@react-navigation/native": "^6.0.4",
    "@react-navigation/native-stack": "^6.2.2",
    "@ui-kitten/components": "^5.1.1",
    "@ui-kitten/eva-icons": "^5.1.1",
    "amazon-cognito-auth-js": "^1.3.3",
    "amazon-cognito-identity-js": "^5.2.0",
    "aws-amplify": "^4.3.2",
    "aws-amplify-react-native": "^5.0.3",
    "aws-appsync": "^4.1.2",
    "jsc-android": "^250230.2.1",
    "jwt-decode": "^3.1.2",
    "luxon": "^2.0.2",
    "prop-types": "^15.7.2",
    "react": "17.0.2",
    "react-native": "0.65.1",
    "react-native-base64": "^0.2.1",
    "react-native-elements": "^3.4.2",
    "react-native-inappbrowser-reborn": "^3.6.3",
    "react-native-modal-datetime-picker": "^11.0.0",
    "react-native-modal-selector": "^2.1.0",
    "react-native-safe-area-context": "^3.3.2",
    "react-native-screens": "^3.8.0",
    "react-native-svg": "^12.1.1",
    "react-native-vector-icons": "^8.1.0",
    "react-redux": "^7.2.5",
    "redux": "^4.1.1"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@react-native-community/eslint-config": "^2.0.0",
    "@testing-library/react-native": "^7.2.0",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.6.3",
    "eslint": "^7.14.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-react": "^7.26.0",
    "eslint-plugin-react-native": "^3.11.0",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.66.0",
    "prettier": "2.4.0",
    "react-native-codegen": "^0.0.7",
    "react-test-renderer": "^17.0.2",
    "redux-mock-store": "^1.5.4"
  }

Please, tell us how to recreate the issue in as much detail as possible.

Run the plugin on Android emulator or Device

Is there any code involved?

  • no just a normal call to InAppBrowser.openAuth(url) and InAppBrowser.closeAuth()
@rafaelgtraverso rafaelgtraverso changed the title Method Event Deprecated method EventEmitter.removeListener throws warning Oct 15, 2021
@mr-rick
Copy link

mr-rick commented Nov 17, 2021

I'm having the same issue with react native 0.66.3

@jdnichollsc jdnichollsc added the enhancement New feature or request label Dec 10, 2021
@jasperkuperus
Copy link

FYI, seems like this is in progress: #297

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

No branches or pull requests

4 participants