Coder Social home page Coder Social logo

Comments (3)

fengarix avatar fengarix commented on August 23, 2024 1

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.

Froelund avatar Froelund commented on August 23, 2024

@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.

shubham1164 avatar shubham1164 commented on August 23, 2024

Hi, I am not able to find the MainApplication.java in the code. Please help.

from react-native-xmpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.