Comments (3)
Yeah solved!
I use version 0.30.0 of react native.
After adding new RNXMPPPackage()
on MainApplication.java
, I have to import the package by adding import rnxmpp.RNXMPPPackage;
on MainApplication.java
Thanks a lot @Froelund
from react-native-xmpp.
@fengarix Which version of react-native?
I've seen this error when trying to use rnpm link react-native-xmpp
on recent versions of react-native.
You should check that the package is returned when getPackages is being called.
In your MainApplication.java
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNXMPPPackage()
);
}
from react-native-xmpp.
Hi, I am not able to find the MainApplication.java in the code. Please help.
from react-native-xmpp.
Related Issues (20)
- undefined is not an object (eveluating '_react.PropTypes.object') in xpmppdemo app
- getting java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. HOT 3
- IOS libibn库找不到 HOT 1
- Unable to use this library for IOS. Facing build errors in Xcode after following the guide. HOT 4
- AAPT Error HOT 1
- Chat History In Android
- I am trying to connect my react-native application with openfire server which is running locally in my pc but could not get connected. HOT 1
- Issue with multiple session on Push implementation
- Android: Parser is not converting all of the XML to JSON HOT 2
- How to connect with ejabbered server without ssl/tls?
- Message Delivery Receipts HOT 2
- iOS: the way to add this sdk HOT 2
- 请问这个库支持发送图片、视频、语音吗
- Different Xmmpp.on('message', message) for Android and IOS HOT 1
- Calling xmpp.disconnect() doesn't appear to terminate connection. HOT 1
- Expo
- length=1; index=1 HOT 1
- Video
- SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) supports
- Couldn't invoke RNXMPP.connect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-xmpp.