react-native-fcm icon indicating copy to clipboard operation
react-native-fcm copied to clipboard

Method does not override or implement a method from a supertype

Open jaimeagudo opened this issue 9 years ago • 6 comments

What version of RN and react-native-fcm are you running?

  "react-native": "0.47.0-rc.4",
 "react-native-fcm": "7.2.0",

What device are you using? (e.g iOS9 emulator, Android 6 device)?

Android 6 emulator, not compiling

Advanced: Have you tried adding break point in native handlers to see if message gets delivered? No can share a project with issue? No

:react-native-fcm:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/jaime/Github/ROC/RocNativeProject/node_modules/react-native-fcm/android/src/main/java/com/evollu/react/fcm/FIRMessagingPackage.java:26: error: method does not override or implement a method from a supertype
    @Override
    ^
1 error
:react-native-fcm:compileReleaseJavaWithJavac FAILED

jaimeagudo avatar Jul 20 '17 06:07 jaimeagudo

some problem too

povloid avatar Aug 02 '17 11:08 povloid

someone solve the problem?

pedrogarciyalopez avatar Aug 04 '17 08:08 pedrogarciyalopez

+1 after upgrading (via git) to 0.47 with the few packages that I use, cm-rn-document-picker, rn-audio-toolkit, and some others. After removed the document-picker (which I was not yet importing) I got it with the audio-toolkit. Of course I cannot unlink it, because I do use this one. Would this also happen with other linked packages?

PeterEmanuel avatar Aug 04 '17 12:08 PeterEmanuel

Corresponds to a breaking change: https://github.com/facebook/react-native/commit/ce6fb337a146e6f261f2afb564aa19363774a7a8

method createJSModules is no longer needed I guess? Same here: https://github.com/react-native-community/react-native-blur/pull/226

asgvard avatar Aug 07 '17 09:08 asgvard

Seems to be fixed here: https://github.com/evollu/react-native-fcm/commit/4c49ca7e4d3d9b2b2c323f8dbe631789e6bd457a

Try v8.0.0 of FCM

asgvard avatar Aug 07 '17 09:08 asgvard

run react-native link and react-native upgrade inside you project then run react-native run-android / ios image

Awadhesh31 avatar Nov 05 '17 17:11 Awadhesh31