aksonov / react-native-xmpp

XMPP library for React Native (iOS and Android native support)
BSD 2-Clause "Simplified" License
308 stars 98 forks source link

Android Require Package Build Failure #69

Closed trevorwhealy closed 7 years ago

trevorwhealy commented 7 years ago

import XMPP from "react-native-xmpp"

Prevents a successful build with the following errors:

:react-native-xmpp:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/trevorhealy/Programming/Applications/abc/abc/node_modules/react-native-xmpp/android/src/main/java/rnxmpp/RNXMPPPackage.java:28: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: /Users/trevorhealy/Programming/Applications/abc/abc/node_modules/react-native-xmpp/android/src/main/java/rnxmpp/service/XmppServiceSmackImpl.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
:react-native-xmpp:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

Here is my React Native Version:

react-native --v
react-native-cli: 2.0.1
react-native: 0.48.4
johakr commented 7 years ago

Same issue here. Any plans on fixing this?

johakr commented 7 years ago

Okay, nvm. There are already 2 merge requests open for over a month targeting this issue. Looks like this library is unfortunately kinda abandoned. As a workaround one can downgrade to react-native@0.46 or apply the fix from the merge request manually. @aksonov any plans on continue maintaining this library?

aksonov commented 7 years ago

I was on vacation, please check now. Android support was done by other developer, so I can say that iOS version is working fine in our production app (we don't have Android app at this moment)

johakr commented 7 years ago

Works great now. Thank you! 👍 Probably worth to be published as a new version asap.

xcrafter commented 7 years ago

merged with master?

ahmadsyamim commented 7 years ago

deleted my gradle version error

aksonov commented 7 years ago

Please check latest 0.6.0