-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Error when require('react-native-xmpp') on android project #22798
Comments
after installing it! you should see if that REACT_NATIVE link command worked correctly and if not then you should do the process manually! by setting up the android MyApplication.java file |
you have the implementation of xmpp in your build.gradle dependencies!
means its written twice first remove that and then go to cd android using android gradlew clean it! cd ./gradlew && clean after that run the react-native run-android it should get you going with that error! now next depends upon how you are configuring XMPP |
Cannot read property 'PLAIN' of undefined Module AppRegistry is not a registered callable module (calling runApplication) it is same output bro |
first remove the extra line! and clean the gradle cache! and then re start the whole pacakager and project and show what comes next! |
same output bro |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
React Native Environment Info:
System:
OS: Linux 4.15 Ubuntu 18.04.1 LTS (Bionic Beaver)
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Memory: 700.26 MB / 15.56 GB
Shell: 4.4.19 - /bin/bash
Binaries:
Node: 8.10.0 - /usr/bin/node
npm: 3.5.2 - /usr/bin/npm
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.1 => 0.57.1
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-xmpp: 1.0.3
Description
tried to install XMPP module in react native project react-native-xmpp
but after I use
var XMPP = require('react-native-xmpp');
it was return error
I didn't find where is this error occur please help
Reproducible Demo
here is stackoverflow question
The text was updated successfully, but these errors were encountered: