zetavg / react-native-system-notification

Android system notifications for React Native. Supports push notifications with GCM integrated.
https://www.npmjs.com/package/react-native-system-notification
244 stars 102 forks source link

error after upgrade to react-native:0.43.3 #83

Open leoabacade opened 7 years ago

leoabacade commented 7 years ago
:react-native-system-notification:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/leoabacade/GitHub/project/react-native-android-v43/node_modules/react-native-system-notification/android/src/main/java/io/neson/react/notification/WritableNativeMap.java:11: error: WritableNativeMap is not abstract and does not override abstract method getDynamic(String) in ReadableMap
public class WritableNativeMap extends HashMap implements WritableMap {
       ^
Note: /Users/leoabacade/GitHub/project/react-native-android-v43/node_modules/react-native-system-notification/android/src/main/java/io/neson/react/notification/NotificationEventReceiver.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/leoabacade/GitHub/project/react-native-android-v43/node_modules/react-native-system-notification/android/src/main/java/io/neson/react/notification/WritableNativeMap.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:react-native-system-notification:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-system-notification:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 12.349 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

any ideas?